I am working on a script to find the position of a css background,
the css code is something like :-
<li id="mainSignal" style="background-% -68px;"></li>
I am looking to find the values 50% or -68px and when they change.
I have tried :-
$result = Invoke-WebRequest -uri $url
$result.ParsedHtml.getElementById to find this value.
any tips would be greatly appreciated.