Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

fix: fix all locator examples #4413

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

wswebcreation
Copy link
Contributor

replaced all browser.findElement(..) for element(..) to make the API documentation more consistent

replaced all `browser.findElement(..)` for `element(..)`
@wswebcreation
Copy link
Contributor Author

When looking @ this PR, can you also please check #4385 (comment) for the broken circleCI?

@cnishina
Copy link
Member

This makes sense. We are trying to tell our users that these are inherited by the Protractor locator by from selenium-webdriver's By. Also with this change we are telling our users that this can be used by the element API.

I like it. 😄

@wswebcreation
Copy link
Contributor Author

Tnx, I did a webinar last week and saw this during my demo. It made people confuse, because they now saw different implementations. I think this would be more consistent.

@wswebcreation
Copy link
Contributor Author

wswebcreation commented Jul 30, 2017

What about the circleCI? Shall I also change that with a PR?

@cnishina
Copy link
Member

Hmmm... I don't think your changes should cause errors in the test suite. I plan to rerun circle then merge it

@cnishina cnishina merged commit b87159b into angular:master Jul 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants