We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6af4acd commit 8f1f1a5Copy full SHA for 8f1f1a5
mubench.reviewsite/tests/Selenium/WebDriverTestCase.php
@@ -20,6 +20,7 @@ public function __construct()
20
parent::__construct();
21
$chromeOptions = new \Facebook\WebDriver\Chrome\ChromeOptions();
22
$chromeOptions->addArguments(array('headless' , '-no-sandbox')); //
23
+ $chromeOptions->setExperimentalOption('w3c', false); // Fix https://stackoverflow.com/questions/56556709/codeception-undefined-index-element-error
24
$capabilities = DesiredCapabilities::chrome();
25
$capabilities->setCapability(\Facebook\WebDriver\Chrome\ChromeOptions::CAPABILITY, $chromeOptions);
26
$this->driver = RemoteWebDriver::create("http://localhost:4444/wd/hub",
0 commit comments