I am trying to get Selenium RC working with Firefox 3 on Linux with PHP/Apache but am experiencing problems. Here's what I've done:
- I have installed the Firefox Selenium-IDE extension.
- On the web server (which in my case is actually the same machine running Firefox), I've started the Selenium server with: java -jar selenium-server.jar -interactive
- I have a PHP script as follows:
PHP:
require_once 'Testing/Selenium.php';
$browser = new Testing_Selenium("*custom /usr/lib/firefox-3.0.3/firefox", "https://www.example.com");
$browser->start();
When I run the PHP script, it does launch a new Firefox tab, but I get this error message:
The requested URL /selenium-server/core/RemoteRunner.html was not found on this server.
I have had more success with Firefox 2 (by using "*firefox"
instead of "*custom"
but don't want to use that for my current project.