Forum Discussion

thuc-nd's avatar
thuc-nd
Occasional Visitor
5 years ago

Screenshot Comparisons API response with same full path

Hi all,

I'm trying to use the Screenshot Comparisons API and i see a problem that is the api response  2 elements with same full path.

Example:

i screenshot comparisons https://crossbrowsertesting.com url and use compare single screenshot api, i receive a response:

 ...

   {
      "full_path": "body.LTR.Chrome.ENUS.ContentBody form#form main.site-wrap div",
      "short_path": "main.site-wrap div",
      "difference": "Element is 212px further from the top"
   },
  {
    "full_path": "body.LTR.Chrome.ENUS.ContentBody form#form main.site-wrap div",
    "short_path": "main.site-wrap div",
    "difference": "Element is 216px further from the top"
  }

---

How to i discern above elements on html?

Thanks for any help!