1
0
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:
Marc Alexander 2019-06-19 07:32:52 +02:00
parent ab6fd30d0d
commit 1be392a16a

View File

@ -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,