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

Commit cc501f7

Browse files
kolodiycnishina
authored andcommitted
fix(element): removed WebElement getSize and getLocation for getRect (#5227)
1 parent 4f74a4e commit cc501f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/element.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ export class WebdriverWebElement {}
1313
export interface WebdriverWebElement extends WebElement { [key: string]: any; }
1414

1515
let WEB_ELEMENT_FUNCTIONS = [
16-
'click', 'sendKeys', 'getTagName', 'getCssValue', 'getAttribute', 'getText', 'getSize',
17-
'getLocation', 'isEnabled', 'isSelected', 'submit', 'clear', 'isDisplayed', 'getId',
18-
'takeScreenshot'
16+
'click', 'sendKeys', 'getTagName', 'getCssValue', 'getAttribute', 'getText', 'getRect',
17+
'isEnabled', 'isSelected', 'submit', 'clear', 'isDisplayed', 'getId', 'takeScreenshot'
1918
];
2019

2120
/**

0 commit comments

Comments
 (0)