Skip to content

Update Appium Python Client to W3C standards #17

Open
Mahaklambda1811 wants to merge 2 commits intoLambdaTest:masterfrom
Mahaklambda1811:master
Open

Update Appium Python Client to W3C standards #17
Mahaklambda1811 wants to merge 2 commits intoLambdaTest:masterfrom
Mahaklambda1811:master

Conversation

@Mahaklambda1811
Copy link
Copy Markdown

Migrated from legacy 'desired_capabilities' to W3C-compliant 'AppiumOptions' and 'lt:options'.

Resolved 'ModuleNotFoundError' by replacing deprecated 'MobileBy' with 'AppiumBy'.

Updated 'requirements.txt' with verified version compatibility mappings.

"deviceName": "Galaxy S20",
"platformVersion": "10",
"isRealMobile": True,
"app": "lt://APP1016034271771502068985212",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"app": "lt://APP1016034271771502068985212",
"app": "lt://proverbial-android",

"deviceName": "iPhone.*", # This will pick any available iPhone
"platformVersion": "15", # iOS 15 is highly available
"isRealMobile": True,
"app": "lt://APP1016034271771508979736192",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"app": "lt://APP1016034271771508979736192",
"app": "lt://proverbial-ios",

options = AppiumOptions()
options.platform_name = "Android"

lt_options = {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Update the Readme.md as well

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