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

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
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants