Forum Discussion
allenjTC
11 months agoNew Contributor
Thanks for the attempt, I already spent many hours interrogating ChatGPT with no useful results.
At best, page.contentDocument.Script.eval("JSON.stringify(window__coverage__)") runs but returns "No coverage data found" message, despite the fact that I can clearly see the data with "window.__coverage__" command in the console. I also have Cypress scripts on the same build that give me coverage.
page.Eval, page.eval and other variations mostly say "Unable to find the object". ChatGPT is particularly eager to tell me to use EvaluateJavaScript, a command that as far as I can tell only exists in one users unanswered question on StackOverflow.
scot1967
Champion Level 3
11 months agoWorth a shot. Post back if you figure it out. Good luck!