playwright-test
playwright-test copied to clipboard
iframe mode
AFAIK there are two running modes so far:
- main window
- worker
It could be interesting to run different test files in different iframes to have sandboxed/isolated environment. An example I have in mind: it would give the ability to have a different customRegistry (for web components) for each test file.
That would probably be less performent and would bring a new set of challenges (synchronising reporting streams, etc) yet I believe it is worth some investigations.
What are your thoughts ?
interesting i will research a bit and report back.