We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6fa9c3 commit e98799bCopy full SHA for e98799b
lib/appium-driver.ts
@@ -348,7 +348,7 @@ export class AppiumDriver {
348
* @param text
349
* @param waitInMiliseconds till element is displayed
350
*/
351
- public async waitForElement(automationText: string, waitInMiliseconds: number = 3000): Promise<UIElement> {
+ public async waitForElement(automationText: string, waitInMiliseconds: number = this.defaultWaitTime): Promise<UIElement> {
352
let element;
353
try {
354
element = await this.findElementByAutomationText(automationText, 100);
0 commit comments