Dgameman1 Posted March 5, 2016 Posted March 5, 2016 (edited) Quote <div class="decoration" data-reactid=".2.2.0.1.$=1$advanced-filter-availability.2.1.$short_term_dating.2"> ::after </div> I want to check to see if the the 'data-reactid' matches Here's what I attempted to write up If $AvailableLookingFor.data-reactid = ".2.2.0.1.$=1$advanced-filter-availability.2.1.$new_friends.2" And $AvailableLookingFor.classname = "decoration" And $AvailableLookingFor.innertext = "::after" Then _IEAction($AvailableLookingFor, "click") EndIf But I get an error saying... "C:\Users\Dgameman1l\Desktop\Tessst.au3"(324,42) : error: reactid(): undefined function. If $AvailableLookingFor.data-reactid = Any ideas? Edited March 6, 2016 by Dgameman1
Dgameman1 Posted March 7, 2016 Author Posted March 7, 2016 I ended up finding the nearest ID and used a bunch of .nextElementSibling to get the job done
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now