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

support non default mobile web browsers for testing #22

Open
vdelendik opened this issue May 9, 2019 · 3 comments
Open

support non default mobile web browsers for testing #22

vdelendik opened this issue May 9, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@vdelendik
Copy link
Contributor

We've found a problem with elements detection on non-default web browsers like: firefox, samsung native browser etc.
Need to play with appium capabilities to be able to recognize elements. As first variant we have to test approaches with automationName:

  • Appium
  • Selenoid
@vdelendik
Copy link
Contributor Author

vdelendik commented Oct 16, 2019

we are moving custom browsers arguments and options into the AbstractCapabilities.java.
It makes sense to test samsung browser options and incorporated if works into above class:
Samsung browser:

NB. when v8 stable is released you can use with 'com.sec.android.app.sbrowser'

options.add_experimental_option('androidPackage', 'com.sec.android.app.sbrowser.beta')
options.add_experimental_option('androidActivity', 'com.sec.android.app.sbrowser.SBrowserMainActivity')
options.add_experimental_option('androidDeviceSocket', 'Terrace_devtools_remote')
options.add_experimental_option('androidExecName', 'Terrace')

NB. chromedriver will need to be in your path! (Or change this to your specific path)

driver = webdriver.Chrome('chromedriver', chrome_options=options)

Details: https://medium.com/samsung-internet-dev/how-to-use-webdriver-and-chromedriver-to-automate-samsung-internet-e1249814823e

@vdelendik vdelendik reopened this Oct 16, 2019
@vdelendik
Copy link
Contributor Author

with new w3c compatible capabilities we have more chances to incorporate those feature. Ideally we have to provide just example of the valid capabilities to test it as no changes expected in 6.3.30+ on core code

@akamarouski akamarouski transferred this issue from zebrunner/carina Mar 15, 2023
@akamarouski
Copy link
Contributor

Let's wait appium 2.0 in mcloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants