Skip to content

chore: Mark Windows page object annotations as deprecated #1938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

/**
* Used to build a complex Windows automation locator.
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
public @interface WindowsBy {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
* of {@link WindowsBy} tags
* It will then search for all elements that match any criteria. Note that elements
* are not guaranteed to be in document order.
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
@Retention(RUNTIME) @Target({FIELD, TYPE})
@Repeatable(WindowsFindByAllSet.class)
public @interface WindowsFindAll {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
* {@link org.openqa.selenium.support.PageFactory}
* this allows users to quickly and easily create PageObjects.
* using Windows automation selectors, accessibility, id, name, class name, tag and xpath
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
@Retention(RUNTIME) @Target({FIELD, TYPE})
@Repeatable(WindowsFindBySet.class)
public @interface WindowsFindBy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
/**
* Defines set of chained/possible locators. Each one locator
* should be defined with {@link WindowsFindAll}
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
@Target(value = {TYPE, FIELD})
@Retention(value = RUNTIME)
public @interface WindowsFindByAllSet {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
/**
* Defines set of chained/possible locators. Each one locator
* should be defined with {@link WindowsFindBys}
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
@Target(value = {TYPE, FIELD})
@Retention(value = RUNTIME)
public @interface WindowsFindByChainSet {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
/**
* Defines set of chained/possible locators. Each one locator
* should be defined with {@link WindowsFindBy}
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
@Target(value = {TYPE, FIELD})
@Retention(value = RUNTIME)
public @interface WindowsFindBySet {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
/**
* Used to mark a field on a Page Object to indicate that lookup should use
* a series of {@link WindowsBy} tags.
* @deprecated This annotation is deprecated and will be removed.
*/
@Deprecated
@Retention(RUNTIME) @Target({FIELD, TYPE})
@Repeatable(WindowsFindByChainSet.class)
public @interface WindowsFindBys {
Expand Down