/** * @return WebDriverOptions * @throws WebDriverException */ public function manage() { try { return $this->driver->manage(); } catch (WebDriverException $exception) { $this->dispatchOnException($exception); } }
protected function open() { $this->driver->get(getenv('CFX_TEST_WEB_HOST')); $this->driver->manage()->addCookie(['name' => 'CFX_TEST_ID', 'value' => $this->testId]); $this->navigateTo(''); }