Coverage: Don't attempt to read cookies while an alert is open (#6211)
Coverage: Don't attempt to read cookies while an alert is open (#6211)

* Add workaround for #1485 - don't attempt to read cookies while an alert is open

* Only apply workaround when module is WebDriver
Codeception/Codeception,Codeception/Codeception