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
Instead of separate modules and assertion modules, make the assertions part of the browser modules. E.g.:
classMyModuleextendsBrowserModule{constructor(browser){this._browser=browser;}_beforeOpen(){// BeforeOpen Hook}_beforeClose(){// beforeClose Hook}getassertions(){// return the assertions object of the module, if any}
After the assertions are defined, the assertions module will inject these in the browser.assert[my_module]
The text was updated successfully, but these errors were encountered:
Instead of separate modules and assertion modules, make the assertions part of the browser modules. E.g.:
After the assertions are defined, the assertions module will inject these in the browser.assert[my_module]
The text was updated successfully, but these errors were encountered: