Hi Guys,
I don't know what is going on, but I have test and under FF and IE8
everything works fine, but I can't use it under Chrome browser.
When I'm starting my script:
public void Setup()
{
//driver = new FirefoxDriver();
// driver = new InternetExplorerDriver();
driver = new ChromeDriver();
}
[Test]
public void Test3()
{
driver.Navigate().GoToUrl("
http://www.javascriptkit.com/
javatutors/alert2.shtml");
IWebElement przycisk = driver.FindElement(By.XPath("//html/
body/table/tbody/tr/td[3]/div[4]/table/tbody/tr/td[2]/form/p/input"));
przycisk.Click();
IAlert alert = driver.SwitchTo().Alert();
Assert.AreEqual("dwdwdwd", alert.Text);
}
There is a only information:
SetUp : OpenQA.Selenium.WebDriverException : The file C:\Users\pawelm
\Documents\Visual Studio 2008\Projects\SkyscannerRC\SkyscannerRC\bin
\Debug\chromedriver.exe does not exist.
Maybe anyone know what is wrong with it?
I'm using W7 and Chrome browser version: 12.0.742.100