Toggle Service
The Toggle Service block is used to control system services on mobile devices or emulators, such as Wi-Fi, Airplane mode, Mobile data (3G/4G), and Location Services.

How to Use the Toggle Service Block
Select the Option
Toggle: Switch the selected service's state between ON and OFF.
On: Force the selected service to turn on.
Off: Force the selected service to turn off.
Choose the Action
Airplane Mode: Turn Airplane Mode on or off.
Wi-Fi: Turn Wi-Fi on or off.
3G/4G (Mobile Data): Turn Mobile Data (3G/4G) on or off.
Location: Turn Location Services (GPS) on or off.
Set Timeout
Timeout (Seconds): Set the maximum wait time before the process is considered a failure if the operation is not completed. Default:
0
(no timeout, the system will wait until the process is complete).
Example: Setting it to 10
means the system will wait a maximum of 10 seconds before considering it a failure and proceeding to the next step.
Set Delay Before Next Block
Delay Next Block (Seconds): Add a delay before proceeding to the next automation step.
Example: Setting it to 2
means the system will wait for 2 seconds to ensure the changes take effect before proceeding.
Last updated