Allows execution of a predefined sequence of actions on the current page. This is a powerful feature for orchestrating complex interactions. Example: act(action: "login", variables: { username: "user", password: "password" })

Definition

act(
  action: String!
  variables: JSONObject
  options: ActOptions
): Boolean!

Arguments

action

String! The name of the action sequence to execute.

variables

JSONObject A JSON object containing variables to be used within the action sequence.

options

ActOptions Options to control the execution of the action sequence.

Returns

Boolean! The Boolean scalar type represents true or false.