Skip to content
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

Fix Appium browser when browser is Remote #2664

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

PetroOv
Copy link

@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)

Copy link

sonarcloud bot commented Feb 29, 2024

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
12 of 13 checks passed
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.

None yet

3 participants