Chain multiple actions together
Hard120 pts~45 min
- Actions API
- Action chains
Practice app · Board Planner
Hover menus, drag and drop, context menu, click-and-hold and keyboard shortcuts.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Build one Actions chain that double-clicks the rename card and right-clicks the roadmap card, then pick Copy.
Your task
- 1Create a single Actions chain: doubleClick(#dbl-target), then contextClick(#context-area), then perform().
- 2Click #context-copy in the context menu.
- 3Assert #dbl-result reads “Double click detected”.
- 4Assert #context-result reads “Action: copy”.
Acceptance criteria
- doubleClick and contextClick are chained and performed
- #dbl-result and #context-result show the expected texts
- At least 2 assertions pass
Selenium WebDriver 4 · Selenium · Mouse & keyboard actions