How to test chrome in mobile devices without appium:

./adb devices
options = webdriver.ChromeOptions()
options.add_experimental_option('androidPackage', 'com.android.chrome')
driver = webdriver.Chrome('./chromedriver', options=options)
driver.get('https://google.com')
driver.quit()
System.setProperty(“webdriver.chrome.driver”,””);ChromeOptions options = new ChromeOptions();options.setExperimentalOption(“androidPackage”, “com.android.chrome”);WebDriver driver = new ChromeDriver(options);driver.get(“https://www.google.com");

An ISTQB certified Software Test Engineer and an enthusiastic fast learner with a passion for technology. linkedin : https://www.linkedin.com/in/praveendvd

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store