Gemini doesn't scroll to captured component
Hello, I've noticed that Gemini does't scroll to element which is outsides of the view. Here example project with config/tested page/test file and packages used: https://github.com/artemyarulin/gemini-issue
It this expected behavior - I read somewhere in the docs that Gemini would scroll to captured element automatically?
I have similar issue. Gemini takes screens same resolution as captured element. But the area of screenshot is wrong. For example:
child
.before((actions, find) => {
//do something
})
.setCaptureElements('.status-bar__container')
.capture('status-bar', (actions, find) => {
//do something
})
If I add actions.wait(2000) into capture section it works well.
But it's not about waiting for .status-bar__container will be loaded. Couse if I replace actions.wait(2000) by actions.waitForElementToShow('.status-bar__container', 2000) I still have same issue.