gemini icon indicating copy to clipboard operation
gemini copied to clipboard

Gemini doesn't scroll to captured component

Open artemyarulin opened this issue 8 years ago • 1 comments

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?

artemyarulin avatar Aug 22 '17 06:08 artemyarulin

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.

Electr0n avatar Feb 11 '18 19:02 Electr0n