You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see playwright can click the element in iframe with different domain. But now the iframe is inside the close shadow root. I can not use playwright to click the iframe. I have to write an chrome extension content script to access the close shadow root like:
But querySelector('iframe').contentDocument will return null due to different domain. I want to know how playwright access the dom of iframe with different domain. So I can use it in my case.
Use javascript? Use chrome extension? or any devtools?
Example
No response
Motivation
N/A
The text was updated successfully, but these errors were encountered:
I already try not working. the website has some mechanism to check, if i open the close shadowroot the antibot mechanism will block me and not show me the real page.
🚀 Feature Request
I see playwright can click the element in iframe with different domain. But now the iframe is inside the close shadow root. I can not use playwright to click the iframe. I have to write an chrome extension content script to access the close shadow root like:
But querySelector('iframe').contentDocument will return null due to different domain. I want to know how playwright access the dom of iframe with different domain. So I can use it in my case.
Use javascript? Use chrome extension? or any devtools?
Example
No response
Motivation
N/A
The text was updated successfully, but these errors were encountered: