Skip to content

Conversation

valfirst
Copy link
Collaborator

Change list

Deprecate Appium ByAll in favour of Selenium ByAll

Types of changes

What types of changes are you proposing/introducing to Java client?
Put an x in the boxes that apply

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

Appium io.appium.java_client.pagefactory.bys.builder.ByAll was implemented as an extension of Selenium org.openqa.selenium.support.pagefactory.ByAll and introduced a performance improvement: "By All was re-implemented, now it returns the first founded element for single search." (#686 on 3 Aug 2017).
However Selenium team introduced the same performance fix "SeleniumHQ/selenium@18028ac ByAll.findElement should not not use remaining locators if an element is already found" on 7 Sep 2017.
So there is no reason to keep Appium ByAll, this commit deprecates it.

@mykola-mokhnach
Copy link
Contributor

Please don't forget to fix javadoc

@valfirst valfirst force-pushed the deprecate-appium-byall branch from 3921695 to 8d58e23 Compare August 15, 2022 06:52
Appium `io.appium.java_client.pagefactory.bys.builder.ByAll` was implemented as an extension of Selenium `org.openqa.selenium.support.pagefactory.ByAll` and introduced a performance improvement: "By All was re-implemented, now it returns the first founded element for single search." (appium#686 on 3 Aug 2017).
However Selenium team introduced the same performance fix "SeleniumHQ/selenium@18028ac ByAll.findElement should not not use remaining locators if an element is already found" on 7 Sep 2017.
So there is no reason to keep Appium `ByAll`, this commit deprecates it.
@valfirst valfirst force-pushed the deprecate-appium-byall branch from 8d58e23 to 37cafcf Compare August 15, 2022 07:25
@valfirst valfirst merged commit f9cd5bb into appium:master Aug 15, 2022
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.

3 participants