Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple same reference image on page / check reference image in part of page #53

Open
jlmxyz opened this issue Aug 24, 2021 · 2 comments

Comments

@jlmxyz
Copy link

jlmxyz commented Aug 24, 2021

I must check icons on a web page, the same icon is used at several locations of the page, I would like to be able to restrict the checking into a (x,y,width,height) or (min_x, min_y, max_x, max_y) rectangle so that the test don't finish ok if one of the icon is not right
how can I do that?

@Tattoo
Copy link
Contributor

Tattoo commented Aug 24, 2021

@jlmxyz ,

Is it possible in your scenario to create a reference image with both the icon and some other graphical element on the page, that would then separate it from the other icons? For example, if the icon you want to locate is in the right side of the web page, you could make a reference image out of the icon and the page's scrollbar

@jlmxyz
Copy link
Author

jlmxyz commented Aug 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants