It is also required for every visual test since it is used to determine the layout of your app and its elements. Setting a viewport size is useful for ensuring consistent test results. The eyes set viewport size command resizes the browser to match the viewport size (excluding window borders). If one is not provided the URL of the current page will be used. Similar to eyes check window, this command takes an optional argument of a name. You can interactively select an element in the IDE, or identify it with standard locators in the target input field. Also, the element has to fit inside of the viewport for this command to work. Note that this command will not scroll the element into view. The eyes check element command sets a visual checkpoint on an element. If a name is not provided the URL of the current page will be used as the name. This goes in the target input field in the IDE. It takes an optional argument of a name to display in the test results. It will scroll throughout the page and build a full page screenshot of it. The eyes check window command sets a visual checkpoint on the entire window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |