I am having a similar issue as others. All my tests pass up to the last two. I get “AssertionError [ERR_ASSERTION]: No open window with an HTML document”. I am running locally using vs code. Here is my github repo for this. GitHub - Tntragan/mochachai.
I had sent a reply to refute what you said about the “done()” call because I had tried that before and got an error. But when I changed my Browser.site URL to the one you suggested and I removed the parentheses it passed. So now I am editing my reply to say your a genius. Thank you for the help. When I only changed the parentheses I couldn’t pass the previous test, but if I implemented both of your changes everything works. Thank you so much. I appreciate the help.
BTW, I made a PR to fix the URL issue. I had an issue open about it, that I forgot about. I added a note about the done callback as well. Hopefully, that will help.