Skip to content
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

Inherited protractor.By from webdriver.By #1

Merged
merged 3 commits into from
Apr 24, 2013

Conversation

jeffbcross
Copy link
Contributor

I modified the By object in protractor to extend the By object from Selenium Webdriver. And then I updated all calls to webdriver.By in httpspec to now use protractor.By.

}
return matches[0]; // We can only return one with webdriver.findElement.
function By () {}
function ByWrapper () {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change these to
var By = function() {};
var ByWrapper = function() {};

juliemr added a commit that referenced this pull request Apr 24, 2013
Inherited protractor.By from webdriver.By
@juliemr juliemr merged commit 207b231 into angular:master Apr 24, 2013
emyphan referenced this pull request Mar 21, 2014
kbaltrinic pushed a commit to kbaltrinic/protractor that referenced this pull request May 2, 2014
Inherited protractor.By from webdriver.By
sjelin pushed a commit that referenced this pull request Jun 1, 2015
You can now give specific capabilities custom names so the output logs will be
more understandable. For instance, you might name one capability
"Chrome - French" and another "Chrome - English" so that the logs will read:

[Chrome - French] ...
[Chrome - French] ...
[Chrome - French] ...
[Chrome - English] ...
[Chrome - English] ...
[Chrome - English] ...

Instead of just

[chrome #1] ...
[chrome #1] ...
[chrome #1] ...
[chrome #2] ...
[chrome #2] ...
[chrome #2] ...

Closes #2112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants