Testing Buttons

Attempt to click the buttons using the instructions for each button below. There are various ways you can click buttons.

WebElement.click()

  • Try interacting with the button below
  • Use an XPATH locator
  • Try method: click()

  • JavaScript click

  • Try interacting with the button below
  • Use a CSS locator
  • Try method: JavaScript click

  • Action Move & Click

  • Try interacting with the button below
  • Use a locator of your choice
  • Try method: Action Move & Click


  • Disabled Button

  • Try interacting with the button below
  • Use a locator of your choice
  • Try method: isEnabled()