When passing viewport size to eyes.open(...) the size should be referred to the inner area of the browser (The viewport), Our SDK calculates the desired outer window size according to the given params and resizes it accordingly.
There are four main reasons for when setting the viewport size can fail:
● The calculated window size is bigger than the available size of the screen.
● The size is too small for the browser (each of the browser has a minimum size that is supported).
● When using appium, don’t try to pass a viewport size, otherwise a failure will occur, as in mobile devices the window is always maximized.
● On windows machines, the zoom of the display must be set to 100%, otherwise the calculation of the browser size, according to the viewport size will fail and throw an error.
Comments
0 comments
Article is closed for comments.