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

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

Closes #3744
  • Loading branch information
sjelin committed Jan 12, 2017
1 parent 6a4dc7a commit 86d6903
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 @@ -14,7 +14,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 @@ -415,14 +415,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 86d6903

Please sign in to comment.