FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Chrome browser is not opening in Selenium web driver #1095

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
See http://goo.gl/ll2FvQ for common issues.

Issue Description:
<enter description here>
I am not able to open Chrome browser using java program in Selenium webdriver.
The same code is working fine for my friends.
Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):
<enter repro steps here>
1.import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
     public class Openchrome {
    public static void main(String[] args)  {
      System.setProperty("webdriver.chrome.driver","path of my chromedriver.exe");
       WebDriver driver = new ChromeDriver();       
                    driver.get("http://www.sheercover.com");
                  driver.getTitle();
                  System.out.println(driver.getTitle());
         }
        }

I run the above java program in Selenium web driver and the programs terminated 
with errors. I tried delete my old chrome and downloaded new chrome and tried 
also
I attached the screen shot of the error 

-----Other helpful tips:
Attach your chromedriver log with verbose logging enabled (see
http://goo.gl/5Sx8mC for how to do this).

Original issue reported on code.google.com by mathuram...@gmail.com on 12 May 2015 at 11:39

Attachments:

GoogleCodeExporter commented 9 years ago
Can you please check :-
1) if your java path is correct? It should be set to JDK and not jre
2) if you have imported the selenium libraries in the project ?

Original comment by gmanikp...@chromium.org on 13 May 2015 at 4:57

GoogleCodeExporter commented 9 years ago
mathuramnls

Could you please respond to comment#1 and let us know if you still facing the 
issue.

Original comment by ssudunag...@chromium.org on 15 Jun 2015 at 12:44

GoogleCodeExporter commented 9 years ago
mathuramnls@

has your issue been resolved ? please let us know so we can close this ticket.

thanks 

Original comment by agau...@chromium.org on 14 Jul 2015 at 6:39