Skip to content

keyDownAndWait (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from keyDown(locator, keySequence)
  • Simulates a user pressing a key (without releasing it yet).
  • Syntax
  • keyDownAndWait(locator, keySequence)
  • Target
  • locator - An element locator pointing to an element or an element itself.
  • Value
  • keySequence - Either be a string(\"\\\" followed by the numeric keycode of the key to being pressed, normally the ASCII value of that key), or a single character. For example: \"w\", \"\\119\".
  • Return Value
  • N/A
 
 
 
 
 

Feedback and Knowledge Base