testing - How to test multiple version of google chrome using chromedriver? -


selenium web-driver java how use chrome driver test lower version of google chrome

from official wiki page:

overriding chrome binary location

you can specify location of chrome binary passing "chrome.binary" capability, e.g. typical chromium install on debian:

desiredcapabilities capabilities = desiredcapabilities.chrome(); capabilities.setcapability("chrome.binary", "/usr/lib/chromium-browser/chromium-browser"); webdriver driver = new chromedriver(capabilities); 

i suggest try approach - tell binary of lower version , start chromedriver. never tried it, think might work


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -