Skip to content

Commit e98799b

Browse files
manoldonevSvetoslavTsenov
authored andcommitted
fix: waitForElement default wait time (#184)
1 parent a6fa9c3 commit e98799b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium-driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ export class AppiumDriver {
348348
* @param text
349349
* @param waitInMiliseconds till element is displayed
350350
*/
351-
public async waitForElement(automationText: string, waitInMiliseconds: number = 3000): Promise<UIElement> {
351+
public async waitForElement(automationText: string, waitInMiliseconds: number = this.defaultWaitTime): Promise<UIElement> {
352352
let element;
353353
try {
354354
element = await this.findElementByAutomationText(automationText, 100);

0 commit comments

Comments
 (0)