c# - selenium doesn't enter the site -
i created console application (with target: .net framework 4
) , added next references:
selenium.webdriverbackedselenium.dll
thoughtworks.selenium.core.dll
webdriver.dll
webdriver.support.dll
static iwebdriver driver = null; if (driver == null) { chromeoptions options = new chromeoptions(); options.addarguments("--start-maximized"); driver = new chromedriver(@"c:\selenium\net40", options); // opened new window (about:blank) } driver.navigate().gotourl("http://www.facebook.com");
but nothing happen.
i use: chromedriver 26.0.1383.0
and chrome browser version is: 29.0.1547.62 m
this command line:
started chromedriver port=1866 version=26.0.1383.0 log=c:\users\salon\desktop\application alon\consoleapplication1\consoleapplicati on1\bin\debug\chromedriver.log [156:4144:0828/233852:error:platform_thread_win.cc(127)] not implemented [5804:5712:0828/233856:error:textfield.h(173)] not implemented
i have windows 7
if it's needed..
any appreciated!
for later versions of chrome (27+), there new shiny chromedriver:
http://code.google.com/p/chromedriver/downloads/list
note section within summary on page...
chromedriver server win32 (v2.2.215849.dyu) supports chrome v27-30
also, should remove thoughtworks & webdriverbackedselenium references, not required , don't seem using them.
Comments
Post a Comment