-
Notifications
You must be signed in to change notification settings - Fork 31
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
example of custom locator #51
Comments
|
small suggestion:
mind the else if statement |
How do you register the locator in protractor.conf.js? |
@sbley sorry this project is inactive and you probably already googled the answer. |
@samvloeberghs Thanks for the pointer. I have seen that before but tbh it leaves my question unanswered. I can't figure out where in protractor.conf.js I am supposed to put |
@sbley basically anywhere where you have access to https://github.com/angular/protractor/blob/master/spec/withLoginConf.js There might be better places, but that should work. |
Thank you Sam, I will give it a try 👍 |
@samvloeberghs Do you also know a way to add the type definitions of the locator to TypeScript? |
I can now answer this myself: Add it to the {
"compilerOptions": { },
"includes": ["./my-custom-locator.ts"]
} |
No description provided.
The text was updated successfully, but these errors were encountered: