mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16078] Use headless chrome and disable gpu acceleration
This is to hopefully get rid of some of the issues with timeouts. PHPBB3-16078
This commit is contained in:
parent
ab6fd30d0d
commit
1be392a16a
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ class phpbb_ui_test_case extends phpbb_test_case
|
|||
|
||||
try {
|
||||
$capabilities = DesiredCapabilities::chrome();
|
||||
$chromeOptions = (new ChromeOptions)->addArguments(['headless', 'disable-gpu']);
|
||||
$capabilities->setCapability(ChromeOptions::CAPABILITY, $chromeOptions);
|
||||
self::$webDriver = RemoteWebDriver::create(
|
||||
self::$host . ':' . self::$port,
|
||||
$capabilities,
|
||||
|
|
Loading…
Add table
Reference in a new issue