Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created August 25, 2020 15:24
Show Gist options
  • Save seleniumgists/fddeb1c16b0c26f1d38eab56f90c0ecf to your computer and use it in GitHub Desktop.
Save seleniumgists/fddeb1c16b0c26f1d38eab56f90c0ecf to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
WebDriverWait wait = new WebDriverWait(driver, 15, 100);
WebElement usernameField = wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("input[data-test-id='SignIn-Username']")));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment