playwright-community / playwright-go

Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
https://playwright-community.github.io/playwright-go/
MIT License
1.94k stars 145 forks source link

Some elements of the site are missing from the screenshots #339

Open ivanqa2022 opened 1 year ago

ivanqa2022 commented 1 year ago

The code waits for the site to fully load before taking a screenshot. I also added a wait element. The element is in view of the first screen. All this does not help me. The element is missing from the full screen shot.

And that's what we managed to get, if we focus the snapshot only on the element, then we get a snapshot of the element.

Has anyone experienced something similar? tell us about your experience of investigating where did you find the problem? Thank you