Selenium-side runner variable to output

312 Views Asked by At

Hello im using selenium side runner to get html table content into a variable using store text command then i print it with echo

what i want is to save the table stored text to .txt file for now im using powershell with " > example.txt" parameter like

Selenium-side-runner table.side > salida.txt

but isnt storing variable in the output just the selenium results

Thank you in advance!

1

There are 1 best solutions below

0
On

selenium-side-runner -c "browserName=firefox moz:firefoxOptions.args=[-headless]" project.side >> "result.txt" It's working fine

But selenium-side-runner -c "browserName=firefox moz:firefoxOptions.args=[-headless]" project.side >> "result.txt" --"output directory='result' --output format='junit'" not working at all