getting problem to navigate to a site in chrome

17 views
Skip to first unread message

jai jagani

unread,
Apr 21, 2014, 1:49:59 AM4/21/14
to seleniu...@googlegroups.com
chrome launche but not able to navigate to web site 

please help me 


public static void main(String args [])  {
 System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe");
 WebDriver driver = new ChromeDriver();
 driver.get("http://www.google.com");
 driver.findElement(By.name("q")).sendKeys("test");
 driver.findElement(By.name("q")).submit();
 driver.quit();

NANI.THRINATH

unread,
Apr 22, 2014, 2:01:57 AM4/22/14
to seleniu...@googlegroups.com
Wht's the error, that you are getting ??


Regards,
Thrinath


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/442409ae-deec-48b5-9a14-0b2e64b3af95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
Thirnath
Reply all
Reply to author
Forward
0 new messages