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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -