Jump to content

Check the 'data-reactid' of a tag


Recommended Posts

Quote

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

    ::after

</div>

TuzJVmV.png

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 by Dgameman1
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...