I am scraping a web page and using their values to fill another page (an mask). The mask is a local html file that after filled will be printed.
It is ok. After that, I have to print the page filled.
Then I’ve used the executeScript command to print,
The command that I used was “executeScript return window.print();”
But when this command is executed it print the window of the script on the IDE rather than of the page that was filled.