You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
I'm using WebDriverIO and cucumber with the test runner to run tests that need an special clean scenario environment without old cookies or session storages.
I was using the "browser.reload()" method in the "beforeScenario" function without any problem for the next set of versions:
When I updated the wdio-cucumber-framework version form "1.1.1" to "2.2.8", the beforeScenario function:
beforeScenario: function () { browser.reload() }
Throws an exception like the following:
Error in onReload hook: "Error: Don't call the 'init' command when using the wdio test runner. Your session will get initialised and closed automatically.
And "Your session will get initialised and closed automatically" isn't the case between scenarios.
The text was updated successfully, but these errors were encountered:
I'm using WebDriverIO and cucumber with the test runner to run tests that need an special clean scenario environment without old cookies or session storages.
I was using the "browser.reload()" method in the "beforeScenario" function without any problem for the next set of versions:
"cucumber": "4.2.1", "wdio-cucumber-framework": "1.1.1", "webdriverio": "4.13.0"
When I updated the wdio-cucumber-framework version form "1.1.1" to "2.2.8", the beforeScenario function:
beforeScenario: function () { browser.reload() }
Throws an exception like the following:
And "Your session will get initialised and closed automatically" isn't the case between scenarios.
The text was updated successfully, but these errors were encountered: