mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 15:05:43 +02: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
@ -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…
x
Reference in New Issue
Block a user