Shadow DOM

Elements inside a Shadow DOM root. Standard selectors won't work — you need page.locator('div').first().shadowRoot()