Skip to main content

Press Activity

This activity simulates a keyboard key press on a web element identified by the provided selector on the specified page. It is commonly used for form submission, input confirmation, or triggering keyboard-based actions.

Core Functions

  • Locates a web element on the specified page using the given selector.
  • Applies a delay before performing the action, if specified.
  • Simulates a keyboard key press on the element.
  • Triggers key-based interactions on the web page.

Inputs

  • Delay:The wait time (in milliseconds) before the key press action is executed.
  • Selector: A selector used to identify the target web element.
  • Key:The keyboard key to be pressed (e.g., Enter, Tab, Escape).
  • Page:The web page instance where the target element is located.

Outputs

  • None

Short Technical Summary Simulates a keyboard key press on a specified web element on a given page using the provided selector and key, with an optional delay applied before execution.