Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created August 25, 2020 15:44
Show Gist options
  • Save seleniumgists/6d1b0b20ef2c9e4b640b6d77dbf25ca9 to your computer and use it in GitHub Desktop.
Save seleniumgists/6d1b0b20ef2c9e4b640b6d77dbf25ca9 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(15), Duration.ofMillis(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