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
Post a Comment