myubo 2 Posted June 6, 2019 Report Share Posted June 6, 2019 (edited) So I'm trying to click on this innertext on the code below, but since the NUMBER before the word VIEW, and CLASS constantly change how would I go about this? <div class="tBJ dyH iFc">36 Views</div> I was hopping something like this would work but it doesn't: click(<innertext="* Views">,"Left Click","No") Edited June 6, 2019 by myubo Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 7, 2019 Report Share Posted June 7, 2019 You're close, in the advanced element editor change Exact Match to Wildcard and you get this: click(<innertext=w"* Views">,"Left Click","No") 1 Quote Link to post Share on other sites
myubo 2 Posted June 7, 2019 Author Report Share Posted June 7, 2019 Wow thanks so much! I've needed this in the past but didn't know it was possible so I figured out another way of doing it. Should have posted a question a long time ago Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.