Skip to content

Commit

Permalink
No reason not to allow creating webdriver.WebElement from a promised Id.
Browse files Browse the repository at this point in the history
  • Loading branch information
sevaseva committed Aug 30, 2014
1 parent f39c6d7 commit 5ca08c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/webdriver/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,8 @@ webdriver.Key.chord = function(var_args) {
*
* @param {!webdriver.WebDriver} driver The parent WebDriver instance for this
* element.
* @param {webdriver.WebElement.Id} id The server-assigned opaque ID for the
* @param {(!webdriver.promise.Promise.<webdriver.WebElement.Id>|
* webdriver.WebElement.Id)} id The server-assigned opaque ID for the
* underlying DOM element.
* @constructor
*/
Expand Down

0 comments on commit 5ca08c6

Please sign in to comment.