gemini-testing / gemini-testing/testplane

Preload the element completely before taking a screenshot

Open
#945 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
830
Forks
76
Avg merge
4d 10h
Merged PRs (30d)
14

Description

### Contribution

- [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/gemini-testing/hermione/blob/master/CONTRIBUTING.md))

### Describe the user story

On pages with dynamic content, elements that do not fit in the viewport can change their appearance/size when scrolling. This may cause an incorrect screenshot (wrong content/size, duplicating part of an element, etc)

### Describe the solution you'd like

Before taking a screenshot of an element, we can scroll the page to the bottom of the element to be sure that the element is fully loaded

### Describe the drawbacks of your solution

_No response_

### Describe alternatives you've considered

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.