-
- Notifications
You must be signed in to change notification settings - Fork 767
docs: Add v7->v8 migration guide #1542
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
docs: Add v7->v8 migration guide #1542
Conversation
… into migration_guide
| Is it worth adding some notes regarding this commit: 5063baf? It's more about Selenium changes, but it could save time for users. |
| I did add some. Feel free to mention more if I forgot something. |
… into migration_guide
docs/v7-to-v8-migration-guide.md Outdated
| [java.time.Duration](https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html) | ||
| class. | ||
| - The current event firing mechanism that Appium java client uses | ||
| has been deprecated in favour of the one that Selenium4 provides |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| has been deprecated in favour of the one that Selenium4 provides | |
| has been deprecated in favour of the one that Selenium 4 provides |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
docs/v7-to-v8-migration-guide.md Outdated
| is called now `replaceElementValue`; `setValue` has been moved to the driver | ||
| instance and is called now `setElementValue`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| is called now `replaceElementValue`; `setValue` has been moved to the driver | |
| instance and is called now `setElementValue`. | |
| is called now `replaceElementValue`; `setValue` is replaced with `sendKeys`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
docs/v7-to-v8-migration-guide.md Outdated
| [AppiumBy](TBD) | ||
| instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it expected to be added something instead of TBD?
| [AppiumBy](TBD) | |
| instead. | |
| [AppiumBy] instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the link
docs/v7-to-v8-migration-guide.md Outdated
| instead. | ||
| Also, all locator names in `AppiumBy` have been aligned to follow the common | ||
| (camelCase) naming strategy, e.g. `MobileBy.AccessibilityId` was changed | ||
| to `AppiumBy.accessibilityId`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also put the note like:
The change made in Selenium 4 broke Appium `class name` selector strategy: `AppiumBy.className` should be used instead of Selenium `By.className` now. There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
docs/v7-to-v8-migration-guide.md Outdated
| - Removed the obsolete `HasSessionDetails` extensions as it was using legacy | ||
| JWP calls to retrieve session details. | ||
| `MobileBy` class has been deprecated. Consider using | ||
| [AppiumBy](TBD) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AppiumBy instead of TBD?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this must be already solved
Change list
The document describes main pitfalls of the client codebase migration to a new major version of Appium java client.
Types of changes