How to switch to dynamically named iframe with Behat/Mink
问题 Writing test for an iFrame generated when a button is clicked. The iFrame name and id are similar but generated dynamically. I have used "switchToiFrame" successfully before. <div class="bbbb-frame-container" style="height: 400px; width: 665px; margin-top: -200px; margin-left: -332.5px;"> <div class="user-support-frame-close-container" style="display: block;"> <div class="user-support-frame-close">Close</div> </div> <iframe id="poplock_default9636_priv" frameborder="0" name="poplock