If selectors targets elements without height (e.g. child elements with position: absolute|fixed|sticky),
it times out when using Playwright as the Engine.
Extend global page.waitForSelector for readySelector with state: 'attached' which should ensure that the element is in DOM.
Puppeteer does not have this issue and does not allow this option in waitForSelector (Puppeteer Docs)
If
selectors
targets elements without height (e.g. child elements withposition: absolute|fixed|sticky
), it times out when using Playwright as the Engine.Extend global
page.waitForSelector
forreadySelector
withstate: 'attached'
which should ensure that the element is in DOM.Puppeteer does not have this issue and does not allow this option in
waitForSelector
(Puppeteer Docs)Playwright Docs