Closed tourdedave closed 3 years ago
Hi @tourdedave
At present, it possible to switch into the parent iframe window only using the following approach: switch to main window
-> navigate to target iframe
.
I believe the switchToIframeParentWindow
method can be useful for your case. I will mark this issue as enhancement.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.
What is your Test Scenario?
Walk into a nested frame, and then access the parent frame without knowing the explicit selector for it.
What is the Current behavior?
Getting an element not visible error.
What is the Expected behavior?
TestCafe should switch into the parent frame.
Reproducer
Steps to Reproduce:
npm i
npm t
Your Environment details:
1.9.1
12.18.3
chrome:headless ./example.spec.js
Chrome 84.0.4147.125
macOS 10.15.5