Open fancy45daddy opened 1 week ago
PW docs: https://playwright.dev/docs/locators#locate-in-shadow-dom
Closed-mode shadow roots are not supported.
Reference for implementation: https://github.com/kaliiiiiiiiii/Selenium-Driverless/blob/ca333fd88b0b7722ac128e08deccbb5ffbd66b39/src/selenium_driverless/types/webelement.py#L237
System info
Source code
Script: fancy45daddy/shadowroot/@main/play.mjs
Works with
import * as playwright from 'playwright'
but not withimport * as playwright from 'patchright'
Expected
the value in iframe input is
bebo
Actual
the value in iframe input still placeholder