Testing_Selenium, how to ?
| From: | arnaud sellenet | Date: | Sun, 22 Oct 2006 14:47:26 +0000 |
| Subject: | Testing_Selenium, how to ? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25587@lists.php.net to get a copy of this message | ||
Hi
I'm really interested in Testing_selenium, so I installed it and tried to make it work.
I'm under mac osX and followed the Readme and the example included in the package.
Launching example.php (from CLI or browser) fails. The only thing I did is replace *firefox by *safari.
This is the selenium-server logs (I started the server included in the Testing_Selenium package) :
22 oct. 2006 16:34:24 org.mortbay.http.HttpServer doStart
INFO: Version Jetty/0.8.1
22 oct. 2006 16:34:24 org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
22 oct. 2006 16:34:24 org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server,/selenium-server]
22 oct. 2006 16:34:24 org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server/driver,/selenium-server/driver]
22 oct. 2006 16:34:24 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:4444
22 oct. 2006 16:34:24 org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.Server@e94e92
queryString = cmd=getNewBrowserSession&1=*safari&2=http://pear.php.net/
Launching Safari to visit http://pear.php.net/selenium-server/core/SeleneseRunner.html?sessionId=1161527669730 via /tmp/customProfileDir1161527669730/redirect_to_go_to_selenium.htm...
As you can see the server opens in a safari instance :
http://pear.php.net/selenium-server/core/SeleneseRunner.html?sessionId=1161527669730
Instead of (I guess...)
http://localhost:4444/selenium-server/core/SeleneseRunner.html?sessionId=1161527669730
Did I miss something ?