Jump to content
Sign in to follow this  

Check the 'data-reactid' of a tag

Recommended Posts


<div class="decoration" data-reactid=".$=1$advanced-filter-availability.2.1.$short_term_dating.2">




I want to check to see if the the 'data-reactid' matches

Here's what I attempted to write up

If $AvailableLookingFor.data-reactid = ".$=1$advanced-filter-availability.2.1.$new_friends.2" And $AvailableLookingFor.classname = "decoration" And $AvailableLookingFor.innertext = "::after" Then
                    _IEAction($AvailableLookingFor, "click")

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 by Dgameman1

Share this post

Link to post
Share on other sites

I ended up finding the nearest ID and used a bunch of .nextElementSibling to get the job done :)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.