How can I write browser tests for modals like this?
In case it matters, I'm using Laravel 5.6 Dusk for browser testing, and my payment request modal is generated via a Stripe Payment Request Button.
Stripe's Payment Request Button uses the cross-browser Payment Request API from W3C.
Chrome doesn't let me "inspect" the HTML of the elements of the modal, so I'm not sure how to write compatible commands in the form of $browser->click('.selector');
.