0
votes

Is there any way to capture the terminal output after appium test scripts have completed executing? Like saving it to a variable or output to a file. Terminal Screenshot

1

1 Answers

0
votes

Yeah, you could redirect the output to a file by using something like your_command > output where output is the file location.

Note, that this will remove the output in your terminal.

In order to write to the file and to standard out you could use your_command 2>&1 | tee outfile.