diff --git a/lib/element.ts b/lib/element.ts index 97d1fa15c..1fafa5d2a 100644 --- a/lib/element.ts +++ b/lib/element.ts @@ -13,9 +13,8 @@ export class WebdriverWebElement {} export interface WebdriverWebElement extends WebElement { [key: string]: any; } let WEB_ELEMENT_FUNCTIONS = [ - 'click', 'sendKeys', 'getTagName', 'getCssValue', 'getAttribute', 'getText', 'getSize', - 'getLocation', 'isEnabled', 'isSelected', 'submit', 'clear', 'isDisplayed', 'getId', - 'takeScreenshot' + 'click', 'sendKeys', 'getTagName', 'getCssValue', 'getAttribute', 'getText', 'getRect', + 'isEnabled', 'isSelected', 'submit', 'clear', 'isDisplayed', 'getId', 'takeScreenshot' ]; /**