Skip to content

chore: add deprecated mark for find_element_by*#657

Merged
KazuCocoa merged 1 commit intoappium:masterfrom
KazuCocoa:add-deprecated
Nov 24, 2021
Merged

chore: add deprecated mark for find_element_by*#657
KazuCocoa merged 1 commit intoappium:masterfrom
KazuCocoa:add-deprecated

Conversation

@KazuCocoa
Copy link
Copy Markdown
Member

Part of #645

It looks like we've recommended to use find_element_by_* instead of vanilla fine_element(xxx), so let's print deprecated message first (and for a while)

Copy link
Copy Markdown
Contributor

@mykola-mokhnach mykola-mokhnach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would also make sense to deprecate MobileBy and rename it to AppiumBy, like we did in java client. the reason for it that Appium does not just support mobile platforms and suhc locations don't make much sense for Desktop automation

@KazuCocoa
Copy link
Copy Markdown
Member Author

I see. It makes sense > AppiumBy

Let me add it and update deprecation messages to use it instead of MobileBy

@KazuCocoa KazuCocoa merged commit d7cb6b5 into appium:master Nov 24, 2021
@KazuCocoa KazuCocoa deleted the add-deprecated branch November 24, 2021 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants