Switch to top frame when capturing settings in the tearDown