Skip to main content
testdriver/type.yaml

Description

The type command is used to simulate typing a string using keyboard emulation. This is useful for entering text into input fields or performing text-based interactions.

Arguments

Example usage

Protips

  • Use this command to input text into fields, such as search bars or forms.
  • Ensure the target application or input field is in focus before using the type command to avoid unexpected behavior.
  • It can also be used to insert values from variables, refer our variable’s guide for more information.

Gotchas

  • If the input field isn’t active or in focus, the text may not be typed correctly.
  • Special characters in the text string may require additional handling depending on the application.

The type command is ideal for automating text input in tests.