webDriver = RemoteWebDriver::create('http://localhost:4444/wd/hub', DesiredCapabilities::firefox()); } public function tearDown() { $this->webDriver->quit(); } public function testGitHubHome() { $this->webDriver->get($this->url); $this->assertContains('GitHub', $this->webDriver->getTitle()); } }