/** @Given /^I am on "([^"]*)"$/ */ public function iAmOnSite($url) { self::$webDriver = RemoteWebDriver::create("http://*****:*****@hub.browserstack.com/wd/hub", array("platform" => "WINDOWS", "browserName" => "firefox", "browserstack.local" => getenv('WP_ENV') === 'development')); self::$webDriver->get($_SERVER['WP_HOME'] . $url); }