Skip to content

contextMenuAndWait (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from contextMenu(locator)
  • Simulates opening the context menu for the specified element (as might happen if the user 'right-clicked' on the element). After performing the action the command waits for a specified amount of time (which can be configured).
  • Syntax
  • contextMenuAndWait(locator)
  • Target
  • locator - an element locator pointing to an element OR an element itself.
  • Value
  • N/A
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base