selenium webdriver - unexpected error launching internet explorer.IELaunchURL() returned HRESULT 80070005("Access is denied) -


enter image description here not able launch ie browser through selenium. using ie11 along selenium 2.46.

please note cannot check/uncheck settings of enabled protected mode in company because of security reasons.

please find code below:

public static void main(string[] args) throws interruptedexception { webdriver driver=null; desiredcapabilities capabilities = desiredcapabilities.internetexplorer(); capabilities.setcapability(internetexplorerdriver.introduce_flakiness_by_ignoring_security_domains, true); capabilities.setcapability("ignorezoomsetting", true); system.setproperty("webdriver.ie.driver","c:\\selenium\\iedriverserver_x64_2.46.0\\iedriverserver.exe"); driver = new internetexplorerdriver(); driver.get("https://www.google.com/"); } 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -