Skip to content

Fix Appium browser when browser is Remote#2664

Merged
asolntsev merged 1 commit intoselenide:mainfrom
PetroOv:fix_appium_driver_on_browserstack
Feb 29, 2024
Merged

Fix Appium browser when browser is Remote#2664
asolntsev merged 1 commit intoselenide:mainfrom
PetroOv:fix_appium_driver_on_browserstack

Conversation

@PetroOv
Copy link
Copy Markdown
Contributor

@PetroOv PetroOv commented Feb 29, 2024

Proposed changes

This pr fixes an issue when a mobile driver uses a remote device (io.appium.java_client.android.AndroidDriver#AndroidDriver(java.net.URL, org.openqa.selenium.Capabilities)), like BrowserStack. After the commit 98c4ee8 - in a case when we use $.setValue() AppiumSetValue command we got 'Unable to create new proxy exception' https://pastebin.com/7amtjpk5 Because AndroidDriver doesn't contain an appropriate constructor. I could not be reproduced on local emulators

Checklist

  • Checkstyle and unit tests are passed locally with my changes by running gradlew check chrome_headless firefox_headless command
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@PetroOv PetroOv changed the title Fix Appium browser when browser is RemoteDriver Fix Appium browser when browser is Remote Feb 29, 2024
@asolntsev asolntsev self-assigned this Feb 29, 2024
@asolntsev asolntsev added this to the 7.2.1 milestone Feb 29, 2024
@asolntsev asolntsev self-requested a review February 29, 2024 22:20
@asolntsev asolntsev merged commit ebf21da into selenide:main Feb 29, 2024
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