You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could do it this way - old locators stay, but get @Deprecated annotation with the recommendation to use the fixed ones, so users could have a chance to update their scripts until we remove the deprecated stuff completely
I was also thinking about renaming MobileBy to AppiumBy. MobileBy makes sense for iOS and Android, but does not make sense for mac and windows and also other non-mobile drivers, so we need some more generic name. The renaming strategy could be exactly the same as described above
I was also thinking about renaming MobileBy to AppiumBy. MobileBy makes sense for iOS and Android, but does not make sense for mac and windows and also other non-mobile drivers, so we need some more generic name. The renaming strategy could be exactly the same as described above
AppiumBy seems more relevant and as you said let's deprecate complete MobileBy stuffs.
valfirst
changed the title
refactor!: unify MobileBy methods naming and toString implementations
refactor: unify locator factories naming and toString implementations
Oct 24, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change list
Keep the unified naming of methods and
toStringimplementations.Types of changes
What types of changes are you proposing/introducing to Java client?
Put an
xin the boxes that applyDetails
Unify locator factory-methods naming and
toStringimplementations to follow the same approach as it's done in Selenium.