Skip to content

Instantly share code, notes, and snippets.

@stevesmename
Created January 13, 2013 16:11
Show Gist options
  • Save stevesmename/4524858 to your computer and use it in GitHub Desktop.
Save stevesmename/4524858 to your computer and use it in GitHub Desktop.
phpunit and selenium test not working.
<?php
class TestLogin extends PHPUnit_Extensions_Selenium2TestCase {
public function setUp() {
$this->setHost('localhost');
$this->setPort(4444);
$this->setBrowser('firefox');
$this->setBrowseUrl('');
}
public function testHasLoginForm(){
$this->url('http://www.stevesmename.com');
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment