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
browser.driver vs browser. Which one to use? #634
Comments
In https://github.com/angular/protractor/blob/master/docs/getting-started.md#writing-tests, this is addressed: If you need to interact with a non-Angular page, you may access the wrapped webdriver instance directly with I'll try to make this a bit more prominent when redoing the docs, if it's confusing. |
Thank you Julie. I get it at a high-level, but what was a little confusing why I had to use
Perhaps, when if I start testing at window handles level, I need to work with the webdriver directly. Would be nice to have some docs pointing out scenarios on when to use one vs. other. Thank you. |
Hi @demisx do you have the answer to your question on April 1, 2014? I am confused on this as well. |
@ryancat Hi there. As far as I understood, |
Just to add to this - I find that I think more clarity needs to added in relation to this as why not just use |
Can someone please explain in plain English (or point to docs) on when I should use
browser.driver
and whenbrowser
when calling methods? For example:Thanks.
The text was updated successfully, but these errors were encountered: