Skip to content

Commit

Permalink
chore(webdriver): remove element.serialize, since it is no longer p…
Browse files Browse the repository at this point in the history
…art of webdriver (angular#3966)

Closes angular#3744
  • Loading branch information
sjelin authored and igniteram committed Feb 21, 2017
1 parent 0c9bea5 commit 036e5ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion lib/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface WebdriverWebElement extends WebElement {}

let WEB_ELEMENT_FUNCTIONS = [
'click', 'sendKeys', 'getTagName', 'getCssValue', 'getAttribute', 'getText', 'getSize',
'getLocation', 'isEnabled', 'isSelected', 'submit', 'clear', 'isDisplayed', 'getId', 'serialize',
'getLocation', 'isEnabled', 'isSelected', 'submit', 'clear', 'isDisplayed', 'getId',
'takeScreenshot'
] as (keyof WebdriverWebElement)[];

Expand Down
8 changes: 0 additions & 8 deletions lib/selenium-webdriver/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,14 +418,6 @@ webdriver.WebElement.prototype.getDriver = function() {};
*/
webdriver.WebElement.prototype.getId = function() {};

/**
* Returns a promise for the web element's serialized representation.
*
* @returns {!webdriver.promise.Promise.<webdriver.WebElement.Id>}
* This instance's serialized wire format.
*/
webdriver.WebElement.prototype.serialize = function() {};

/**
* Use {@link ElementFinder.prototype.element} instead
*
Expand Down

0 comments on commit 036e5ee

Please sign in to comment.