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
Presently, one has to resort to placing the teardown code inside the last step for a scenario. It would be nice to accept that code as a lambda for the scenario method.
Presently, one has to resort to placing the teardown code inside the last step for a scenario. It would be nice to accept that code as a lambda for the
scenario
method.Example usage:
scenario("test opening homepage", () -> { tearDown(); }, given("browser is open", () -> { DriverHooks.setUp("Chrome_1024x768"); }));
The text was updated successfully, but these errors were encountered: