-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
World 'by' object incorrect #25
Comments
Observation (using protractor 3.0.0 and cucumber.js 0.9.2 and node 4.2.3 or 5.0.0): For
but not for with the above adjustment it works but I dont understand the approach then the protractor selectors can be called that way. which might be ok they can just be called through |
by uses `webdriver.By` to solve `TypeError: Invalid locator at Function.webdriver.Locator.checkLocator` AndrewKeig#25
👍 Patch brought my code to life, too. |
Patch worked for me too. protractor-cucumber: 0.1.8 Got the error when using by.css (
|
I switched to |
Hi @leegee, switching to protractor-cucumber-framework is indeed a smart move 👍 |
Hi,
The World object's 'by' property won't work as it's currently set:
lib/index.js Line 29:
this.by = protractor.By;
It worked when we set it to:
this.by = webdriver.By;
The text was updated successfully, but these errors were encountered: