예제 #1
0
 public static function setUpBeforeClass()
 {
     $capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => 'chrome', \WebDriverCapabilityType::VERSION => '45.0');
     self::$webDriver = \RemoteWebDriver::create('http://localhost:4444/wd/hub', $capabilities);
 }
예제 #2
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     global $config;
     DAO::connect($config["database"]["dbName"]);
 }
예제 #3
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::get("Selenium/index");
 }