Click start. A message appears after a short delay so testers can practice finding a delayed element.
// Java
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(5));
driver.findElement(By.id("implicit_start")).click();
WebElement message = driver.findElement(By.id("implicit_message"));
# Python
driver.implicitly_wait(5)
driver.find_element(By.ID, "implicit_start").click()
message = driver.find_element(By.ID, "implicit_message")
// Java - Full Test
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(5));
driver.findElement(By.id("implicit_reset")).click();
driver.findElement(By.id("implicit_start")).click();
WebElement message = driver.findElement(By.id("implicit_message"));
assert message.isDisplayed();
assert message.getText().contains("Loaded with implicit wait");
assert message.getAttribute("data-status").equals("ready");
# Python - Full Test
driver.implicitly_wait(5)
driver.find_element(By.ID, "implicit_reset").click()
driver.find_element(By.ID, "implicit_start").click()
message = driver.find_element(By.ID, "implicit_message")
assert message.is_displayed()
assert "Loaded with implicit wait" in message.text
assert message.get_attribute("data-status") == "ready"
// Java - Alternative Solution
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(5));
driver.findElement(By.id("implicit_start")).click();
assert driver.findElement(By.id("implicit_message")).getText().contains("Loaded");
# Python - Alternative Solution
driver.implicitly_wait(5)
driver.find_element(By.ID, "implicit_start").click()
assert "Loaded" in driver.find_element(By.ID, "implicit_message").text
implicit_start.implicit_message.data-status="ready".