Open Vinyzu opened 9 months ago
Note:
await page.locator("a").click()
Works as expected.
Note no.1:
await page.set_content('<iframe src="demo_iframe.htm" height="200" width="300" title="Iframe Example"></iframe> ')
print(page.frame_locator('[title="Iframe Example"]'))
Also doesnt work. Other Functions including Selectors maight also not be expected to work
and locator source:
Source code
Test file (self-contained)
Expected
The Selector should be able to pick up the new inserted content, like it is the case with "normal" playwright.
Actual
The Selector doesnt pick up the new content. Note: Could be explained by a missing isolatedContext consideration.