Closed gilles-yvetot closed 3 years ago
@JoelEinbinder can you have a look at this?
To clarify, the issue here is that DevTools can't see the injected frame? Or is there something broken with playwright itself.
@JoelEinbinder I don't know if they are related but yes Devtools could not see the iframe when connected with PW but could see them fine without PW. There were other inconsistencies but they are not 100% reproducible. We actually had the same with pptr a year ago, and switching to PW fix them
@dgozman do you have any thoughts here? I think we pass it on to the DevTools team. Sounds like a frontend problem.
@JoelEinbinder my guess was there is a new flag added by PW because it worked without PW. But you know more than me!
@dgozman do you have any thoughts here? I think we pass it on to the DevTools team. Sounds like a frontend problem.
Yeah, I've seen similar issues myself. I am not surprised, given how much special OOPIF code we have. I guess having Playwright attached may affect some timings to make the issue more prominent, but it still sounds like a frontend issue.
@dgozman I know that's not supported, but I have many problems with Chrome during extension testing. Most likely they are async/timing issues like you mention because they don't always occur
@dgozman I know that's not supported, but I have many problems with Chrome during extension testing. Most likely they are async/timing issues like you mention because they don't always occur
Please file them as separate issues, we'll do our best to fix them! This one is related to Chrome DevTools that we do not control, so it is harder to get traction. Other issues that might be Playwright-specific we'll be easier to fix.
Closing as per above, in anticipation for fine-grained issues. Thanks for reporting them, sorry I have to close this to keep our bug database actionable.
Context:
Code Snippet
I have created a small repo here:
But the 2 main parts are those
Playwright launch script
Extension content script
Describe the bug
I have multiple issues with OOPIF but they are inconsistent. There is one I could repro everytime though. I cannot select an element with the devtools selector inside the injected iframe. PW detects it but it looks the devtools don't detect it.