Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

i cant launch any browsers :( Empty 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
avatar
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

i cant launch any browsers :( Empty 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?
avatar
jedox
Posts : 3
Join date : 2012-07-07

i cant launch any browsers :( Empty 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

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

i cant launch any browsers :( Empty 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?
avatar
jedox
Posts : 3
Join date : 2012-07-07

i cant launch any browsers :( Empty 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 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

i cant launch any browsers :( Empty Re: i cant launch any browsers :(

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

i cant launch any browsers :( Empty Re: i cant launch any browsers :(

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