Chris Ramsey 0 Posted June 14, 2011 Report Share Posted June 14, 2011 I'm looking for a way to choose by a class. So, let's say the HTML was <a class="classname">text</a> - I'd like to be able to choose the item on a page that has the class of "classname". How can I do that? I could write a regex to do it, but I'm not sure how I'd use it with UBot. Any ideas would be great. Thanks! Quote Link to post Share on other sites
UBotBuddy 331 Posted June 14, 2011 Report Share Posted June 14, 2011 You should be able to do exactly what you have listed. Just use a standard choose by attribute and change your html in the outerhtml attribute. Quote Link to post Share on other sites
Chris Ramsey 0 Posted June 14, 2011 Author Report Share Posted June 14, 2011 You should be able to do exactly what you have listed. Just use a standard choose by attribute and change your html in the outerhtml attribute. Oh, okay. I always thought that by right clicking something, the choose attribute was somehow locked to that particular tag (unless you choose a different one from the drop down list) Quote Link to post Share on other sites
Chris Ramsey 0 Posted June 14, 2011 Author Report Share Posted June 14, 2011 You should be able to do exactly what you have listed. Just use a standard choose by attribute and change your html in the outerhtml attribute. Oh, okay. I always thought that by right clicking something, the choose attribute was somehow locked to that particular tag (unless you choose a different one from the drop down list) Quote Link to post Share on other sites
UBotBuddy 331 Posted June 14, 2011 Report Share Posted June 14, 2011 Well, I have not tried it in v3. But in v4 doing what you want will be possible. Quote Link to post Share on other sites
Chris Ramsey 0 Posted June 14, 2011 Author Report Share Posted June 14, 2011 Well, I have not tried it in v3. But in v4 doing what you want will be possible. Awesome I can't wait to get my hands on v4. It'll be the highlight of June for me... I'm not sure if that's sad or not Quote Link to post Share on other sites
Chris Ramsey 0 Posted June 15, 2011 Author Report Share Posted June 15, 2011 Hmm, I tried this in v3, but it didn't seem to work. I'll find another way I'm sure. 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.