Links

shell

Provides methods for working with operating system shell.

assertOutput

Assert whether the shell command output (stdout) is matching the specified pattern.
Parameters:
Name
Type
Description
pattern
String
Pattern to assert.

exec

Execute command
Spawn child process
Parameters:
Name
Type
Description
command
String
Shell command to be executed, including arguments, if applicable.
Returns:
String - null | Error | stdout result
Last modified 7mo ago