Skip to content

Instantly share code, notes, and snippets.

@pboethig
Created August 5, 2016 10:56
<?php
/**
* Created by PhpStorm.
* User: root
* Date: 05.08.16
* Time: 10:58
*/
class GitHubSearchTest extends PHPUnit_Framework_TestCase
{
/**
* @var RemoteWebDriver
*/
protected $_webdriver;
protected $_url = 'https://github.com';
public function setUp()
{
$capabilities = [
\WebDriverCapabilityType::BROWSER_NAME=>'chrome',
\WebDriverCapabilityType::BROWSER_NAME=>'firefox'
];
$this->_webdriver = RemoteWebDriver::create('http://localhost:4443/wd/hub', $capabilities);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment