Selenium Test Elements

Select an element from the dropdown (top-right) or use the links to open a dedicated test page with instructions.


Buttons
How to test with Selenium

- Click buttons, check disabled attribute for disabled button.

driver.findElement(By.id("element_btn_primary")).click();
// Disabled: driver.findElement(By.id("element_btn_disabled")).isEnabled() == false

Tip: use By.id selectors where possible. IDs used on this page are stable and intended for automated testing.


Back to Setup