Microsoft-Rewards-Script icon indicating copy to clipboard operation
Microsoft-Rewards-Script copied to clipboard

Dump HTML upon error

Open TheNetsky opened this issue 8 months ago • 2 comments

Once the scripts throws an error, dump the HTML, so it can be debugged later, this is especially for Docker related issue where "headless" can't be disabled.

TheNetsky avatar Apr 14 '25 11:04 TheNetsky

Wouldn't taking a screenshot as well be more effective because sometimes you can't tell what is happening on the page?

651Shadow avatar May 23 '25 09:05 651Shadow

For debugging, code is easier, since I can see what the element names are, however both can be added if I get around to it.

TheNetsky avatar May 23 '25 09:05 TheNetsky