When you interact with an iframe on the webpage during recording, TestCafe Studio automatically adds the Switch Frames actions to the test.
Switch to Iframe
The Switch to Iframe action switches the test's browsing context to a specified iframe. TestCafe Studio performs the subsequent test actions in this iframe until it reaches the Switch to Main Window action in the test.
The Switch to Main Window action switches the test's browsing context from an iframe back to the main window.
TestCafe Studio displays warnings when you reorder Switch Frames actions or move test actions between browsing contexts. After dragging, make sure the actions relate to their appropriate contexts. Otherwise, they can be executed incorrectly.
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.