Answers for "how to add wait in appium"

0

how to add wait in appium

WebDriverWait wait = new WebDriverWait(driver, 30);
wait.until(ExpectedConditions.elementToBeClickable(By
        .xpath("//android.widget.Button[contains(@text, 'Log In')]")));
Posted by: Guest on August-21-2020
0

how to add wait in appium

WebDriverWait wait = new WebDriverWait(driver, 30);
wait.until(ExpectedConditions.presenceOfElementLocated(By
            .xpath("//android.widget.TextView[contains(@resource-id, 'action_bar_title')]")));
Posted by: Guest on August-21-2020

Browse Popular Code Answers by Language