Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12231

Using Playwright - how to test SVG image by d values?

$
0
0

In the website I'm automating, there are SVG images with icons.In once scenario, the SVG has a special arrow that points up and right.

<svg class="SecretClass" focusable="false" viewBox="0 0 640 640" aria-hidden="true" style="width: 25px;"><path d="M460 190L460 460L615 325L460 190Z"></path><path d="M90 356L90 283L487 283L487 356L90 356Z"></path><path d="M162 356L162 -68L88 -68L88 356L162 356Z"></path></svg>

How should I validate these values in such an element?


Viewing all articles
Browse latest Browse all 12231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>