Jump to content
UBot Underground

Choosing by class


Recommended Posts

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!

Link to post
Share on other sites

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)

Link to post
Share on other sites

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)

Link to post
Share on other sites

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 ;)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...