Right click

Right-click an element to open a context menu or trigger any handler bound to the contextmenu event, then pick an entry with a Click step.

Right-click an element to open a context menu or trigger any handler bound to the contextmenu event. Pair it with a Click step to pick an entry from the menu that opens.

Parameters

ParameterRequiredDescription
Target elementYes, unless a manual selector is setNatural-language description of the element. The AI uses it to find the element.
Manual selectorNoXPath or CSS selector, used when AI is disabled or as the saved selector.
AI usageNoinherit (default, follows the test strategy), smart, or always.
Enable AINoWhen off, only the manual selector is used. Default: on.
Ignore error on this stepNoThe run continues with the next step if this one fails. Default: off.

Results and metrics

  • Timing: start, end, and duration (in seconds) recorded in the step result.
  • Status: success, warning, or failed, with the error message on failure.
  • Screenshot: captured after the right click, usually showing the opened context menu.
  • AI usage: if the AI located the element, the healed selector is saved on the test and the AI cost is added to the run.

What's next?

Click

Select an entry in the context menu you just opened

Press keys

Close the menu or navigate it from the keyboard

Last updated on