Selenium WebDriver 4

Double-click an element

Medium70 pts~25 min
  • Actions API
  • Double-click
Practice app · Board Planner

Hover menus, drag and drop, context menu, click-and-hold and keyboard shortcuts.

Test URL
/lab/qa-automation-double-click-an-element

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Perform a real double-click with the Actions API.

Your task

  1. 1Open TEST_URL.
  2. 2Locate #dbl-target and double-click it with Actions.
  3. 3Assert #dbl-result shows “Double click detected”.

Acceptance criteria

  • A double-click action is used
  • #dbl-result shows “Double click detected”
  • At least 1 assertion passes

Selenium WebDriver 4 · QA Automation · Interactions