Search
Display results as :
Advanced Search
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Share
Go down
avatar
jedox
Posts : 3
Join date : 2012-07-07

i cant launch any browsers :(

on 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
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: i cant launch any browsers :(

on 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?

_________________
Thanks
Tarun K
Free Selenium Training
avatar
jedox
Posts : 3
Join date : 2012-07-07

Re: i cant launch any browsers :(

on 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

avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: i cant launch any browsers :(

on 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?

_________________
Thanks
Tarun K
Free Selenium Training
avatar
jedox
Posts : 3
Join date : 2012-07-07

Re: i cant launch any browsers :(

on 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 Smile
maybe it was the version of the driver... thanks for the help!!
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: i cant launch any browsers :(

on Thu Jul 12, 2012 12:28 pm
glad you got through

_________________
Thanks
Tarun K
Free Selenium Training
Sponsored content

Re: i cant launch any browsers :(

Back to top
Permissions in this forum:
You cannot reply to topics in this forum