mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
[ticket/16078] Use chrome as webdriver
PHPBB3-16078
This commit is contained in:
parent
ddc9a4dff6
commit
34a6493fb5
@ -79,12 +79,12 @@ class phpbb_ui_test_case extends phpbb_test_case
|
||||
}
|
||||
|
||||
try {
|
||||
$capabilities = DesiredCapabilities::firefox();
|
||||
$capabilities = DesiredCapabilities::chrome();
|
||||
self::$webDriver = RemoteWebDriver::create(
|
||||
self::$host . ':' . self::$port,
|
||||
$capabilities,
|
||||
60 * 1000, // 60 seconds connection timeout
|
||||
60 * 1000 // 60 seconds request timeout
|
||||
30 * 1000, // 30 seconds connection timeout
|
||||
30 * 1000 // 30 seconds request timeout
|
||||
);
|
||||
} catch (WebDriverCurlException $e) {
|
||||
self::markTestSkipped('PhantomJS webserver is not running.');
|
||||
|
Loading…
x
Reference in New Issue
Block a user