Overview
Execute shell commands (Linux) or PowerShell commands (Windows) in the sandbox environment.Syntax
Parameters
Language to execute:
'sh' (Shell/Linux) or 'pwsh' (PowerShell/Windows)Code or command to execute
Timeout in milliseconds
Suppress output if
trueReturns
Promise<string> - Command output
Shell Execution (Linux)
Execute shell commands in the Linux sandbox.Basic Commands
File Operations
PowerShell Execution (Windows)
Execute PowerShell commands in the Windows sandbox.Software Installation
File Operations
Process Management
Environment Variables
Network Operations
Silent Execution
Suppress output for background operations:Best Practices
Use appropriate timeouts
Handle errors gracefully
Use silent mode for background tasks
Complete Example
Related Methods
focusApplication()- Focus apps before execfind()- Locate elements visuallytype()- Type text into inputs

