- jedox
- Posts : 3
Join date : 2012-07-07
i cant launch any browsers :(
Sat Jul 07, 2012 10:13 pm
hello everyone.. i have a problem when using ChromeDriver or FirefoxDriver.. my code is just a test
WebDriver driver = new FirefoxDriver();
driver.get("anyURL"); (I'm not allowed to post links in the forum)
System.out.println("Page title is: " + driver.getTitle());
WebDriver driver = new ChromeDriver();
System.setProperty("webdriver.chrome.driver", "C:\\Documents and Settings\\jedox\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe");
driver.get("anyURL");
System.out.println("Page title is: " + driver.getTitle());
when I run them.. the computer seems to be working but after some minutes nothing happens. With ChromeDriver I saw an error about missing a webdriver.chrome.driver.. so after looking internet I found the System.setProperty and then got the same response that with FirefoxDriver.. nothing
my config is windows xp sp3 without proxy but firewall to internet.. I have chrome 20.0.1132.47 and firefox 13.0.1
please help
jedox
WebDriver driver = new FirefoxDriver();
driver.get("anyURL"); (I'm not allowed to post links in the forum)
System.out.println("Page title is: " + driver.getTitle());
WebDriver driver = new ChromeDriver();
System.setProperty("webdriver.chrome.driver", "C:\\Documents and Settings\\jedox\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe");
driver.get("anyURL");
System.out.println("Page title is: " + driver.getTitle());
when I run them.. the computer seems to be working but after some minutes nothing happens. With ChromeDriver I saw an error about missing a webdriver.chrome.driver.. so after looking internet I found the System.setProperty and then got the same response that with FirefoxDriver.. nothing
my config is windows xp sp3 without proxy but firewall to internet.. I have chrome 20.0.1132.47 and firefox 13.0.1
please help
jedox
Re: i cant launch any browsers :(
Tue Jul 10, 2012 12:57 pm
Which version of Selenium are you using? Latest is - 2.23.1
What error do you encounter eventually?
Could you downgrade to FF-12 and try?
What error do you encounter eventually?
Could you downgrade to FF-12 and try?
- jedox
- Posts : 3
Join date : 2012-07-07
Re: i cant launch any browsers :(
Wed Jul 11, 2012 11:15 am
thanks for the reply... I'm using the selenium-java.2.21.0.jar among others libraries
the problem is that I have no error.. I put a breakpoint at the line WebDriver driver = new FirefoxDriver(); and after it.. nothing happens.. no error, no launch of firefox
the problem is that I have no error.. I put a breakpoint at the line WebDriver driver = new FirefoxDriver(); and after it.. nothing happens.. no error, no launch of firefox
Re: i cant launch any browsers :(
Wed Jul 11, 2012 12:21 pm
This is strange, can you try with latest version of Firefox, also which operating system are you on?
- jedox
- Posts : 3
Join date : 2012-07-07
Re: i cant launch any browsers :(
Wed Jul 11, 2012 1:04 pm
I just tried the last version of selenium.. the selenium-java-2.24.1.jar and also the driver selenium-firefox-driver-2.24.1.jar (the past driver was inside the selenium-java driver). Now, after adding the dependent libraries that selenium uses, firefox launch
maybe it was the version of the driver... thanks for the help!!
maybe it was the version of the driver... thanks for the help!!
Permissions in this forum:
You cannot reply to topics in this forum
|
|