The browser object is not accessible outside the step definitions in Cucumber #3742
Unanswered
ituradastra
asked this question in
Help Needed
Replies: 1 comment
-
|
This is not possible as of now. The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to have the page objects defined once and then just use them in the step definitions (I am trying to migrate from nightwatch-api with cucumber (https://github.com/mucsi96/nightwatch-api) where it works). But that doesn't work with nightwatch v2 I am getting error "browser is not defined".
Example:
Error: ReferenceError: browser is not definedDoes anyone know if it is possible to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions