engine icon indicating copy to clipboard operation
engine copied to clipboard

When 2 `<body />` in DOM, snapshot does not wait for selector

Open martinratinaud opened this issue 2 years ago • 0 comments

This one is tricky

On this document, DOM is having a body inside a body

When I use executeClientScripts with an existing selector in the final page, such as .content__plate, fetcher should wait for this selector to be present and then take the screenshot.

This is what happens but in the resulting snapshot, the selector does not exist.

See it live on the contribution tool

martinratinaud avatar Sep 08 '22 13:09 martinratinaud