It is possible not in the _beforeSuite function, but in the _before and _after functions, like this:
public function _before(\Codeception\TestCase $test)
{
$sessionId = $this->getModule('WebDriver')->webDriver->getSessionID();
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more