Skip to content

Instantly share code, notes, and snippets.

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