selenium - Getting Could not load Extension from error when launching Chrome using Webdriver -
i trying launch chrome using below code.
webdriver driver; system.setproperty("webdriver.chrome.driver", "properties/chromedriver.exe"); driver = new chromedriver(); driver.get("www.google.com");
when program runs, chrome opened , getting below error after that
could not load extension c:\users\username\appdata\local\temp\scoped_dir4560_5259\internal. invalid value permission[1].
please change below line in code :
driver.get("http://www.google.com");
use http url per above.
also please download latest chrome driver below :
http://chromedriver.storage.googleapis.com/index.html?path=2.10/
replace above downloaded file properties folder , run
Comments
Post a Comment