Javascript Code
The Action option in the JavaScript Code block allows you to run JavaScript commands within GemPhoneFarm. This can be used for tasks such as setting up complex conditions or executing necessary commands.
Execution Context Option
You can choose to run the JavaScript code by selecting the type of Execution Context.

Active Tab: Runs on the currently active web page.
Background: Runs JavaScript in the background of the application.
Wait Time
The maximum time the node will run. By default, it is set to 20 seconds. If the code completes within the specified time, the process will proceed to the next node. If the node does not complete within the specified time, the process will stop.

Functions Inside the JavaScript Code Block
The JavaScript Code block contains pre-built functions that you can call within this node. These functions include:
Last updated