I have this page that, when a particular button is clicked, a new window pops up (eg. an anchor tag with _target = blank). I want to verify that a string of text appears in this new window but, with Laravel Dusk, assertSee
appears to be testing the original window and not the newly opened window.
Any ideas as to how I can test the contents of the newly opened window?