Quality Assurance and Testing with Chai - Run Functional Tests Using a Headless Browser II

Tell us what’s happening:
Hi, I’m trying to do the last 2 exercises of the " Quality Assurance and Testing with Chai" but I’m stuck, it says that “AssertionError [ERR_ASSERTION]: No open window with an HTML document”.

That error appears because the previous error says “browser” is not defined, when I put a new “const browser = new Browser();” the error changes so I don’t know what I can do.
Thanks.

Your project link(s)

solution: boilerplate-mochachai - Node.js Repl - Replit

code: boilerplate-mochachai - Node.js Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Quality Assurance and Testing with Chai - Run Functional Tests Using a Headless Browser II

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.