Some Time you can create Browser tests by using laravel dusk.
Generally dusk provides almost functionalities for Browser test.
You can do following as when you are going to test for iframe.
Iframe name = stripe_checkout_app
$browser->driver->switchTo()->frame('stripe_checkout_app');