How can I access an actor (e.g. AcceptanceTester) in a Codeception helper
Passing in the $I variable from the test. It's a bit verbose but works fine.
public function deleteCookies($I){...}
and then in tests write:
$I->deleteCookies($I);
Passing in the $I variable from the test. It's a bit verbose but works fine.
public function deleteCookies($I){...}
and then in tests write:
$I->deleteCookies($I);