Change browser

This commit is contained in:
Sébastien Lucas 2013-11-28 17:45:57 +01:00
parent c2ee1733e0
commit a361b31fba

View file

@ -5,14 +5,14 @@ require_once 'vendor/autoload.php';
class WebDriverDemo extends Sauce\Sausage\WebDriverTestCase class WebDriverDemo extends Sauce\Sausage\WebDriverTestCase
{ {
public static $browsers = array( public static $browsers = array(
// // run FF15 on Windows 8 on Sauce // run FF15 on Windows 8 on Sauce
// array( array(
// 'browserName' => 'firefox', 'browserName' => 'firefox',
// 'desiredCapabilities' => array( 'desiredCapabilities' => array(
// 'version' => '15', 'version' => '15',
// 'platform' => 'Windows 2012', 'platform' => 'Windows 2012',
// ) )
// ), )
// // run IE9 on Windows 7 on Sauce // // run IE9 on Windows 7 on Sauce
// array( // array(
// 'browserName' => 'internet explorer', // 'browserName' => 'internet explorer',
@ -48,13 +48,13 @@ class WebDriverDemo extends Sauce\Sausage\WebDriverTestCase
// ) // )
// ), // ),
// run Chrome on Linux on Sauce // run Chrome on Linux on Sauce
array( // array(
'browserName' => 'chrome', // 'browserName' => 'chrome',
'desiredCapabilities' => array( // 'desiredCapabilities' => array(
'version' => '30', // 'version' => '30',
'platform' => 'Linux' // 'platform' => 'Linux'
) // )
) // )
// run Mobile Browser on Android // run Mobile Browser on Android
// array( // array(
// 'browserName' => 'Android', // 'browserName' => 'Android',
@ -84,7 +84,7 @@ class WebDriverDemo extends Sauce\Sausage\WebDriverTestCase
public function setUpPage() public function setUpPage()
{ {
$this->url('http://127.0.0.1:8888/checkconfig.php'); $this->url('http://127.0.0.1:8888/index.php');
} }
public function string_to_ascii($string) public function string_to_ascii($string)