Simulates typing text into the currently focused element or the page. This is like multiple key presses for each character in the text. Example: keyType(text: "Hello, world!") Returns true if the text was successfully typed.

Definition

keyType(
  text: String!
  options: KeyTypeOptions
): Boolean!

Arguments

text: String!

The text to type.

options: KeyTypeOptions

Options for typing, such as inter-character delay.

Returns

Boolean!

The Boolean scalar type represents true or false.