Jump to content
UBot Underground

is there a way Click Chosen to click just one?


Recommended Posts

After a Choose Command (will result about 4 items)

Is there a way use Click Chosen, but only click 1 item (first or random or index/position)

 

NOTE : a sample could be a page with this code.... very similar forms with just a different data

<html>

<form>

<input type="hidden" data="First Choice">

<input type ="submit" value ="Choose">

</form>

 

<form>

<input type="hidden" data="2nd Choice">

<input type ="submit" value ="Choose">

</form>

 

<form>

<input type="hidden" data="3rd Choice">

<input type ="submit" value ="Choose">

</form>

</html>

 

------------

choose by attribute value="Choose"

now click just one of the chosen item

Link to post
Share on other sites

After a Choose Command (will result about 4 items)

Is there a way use Click Chosen, but only click 1 item (first or random or index/position)

 

NOTE : a sample could be a page with this code.... very similar forms with just a different data

 

 

 

------------

choose by attribute value="Choose"

now click just one of the chosen item

 

 

Since there are other ways to choose the button, like src, href, outerhtml, etc etc, you might want to look through and find the one attribute that distinguishes the buttons from one another.

 

There is also Choose By Position. That sounds like what you might be looking for. It is in the right click menu, right under choose by attribute.

Link to post
Share on other sites

Since there are other ways to choose the button, like src, href, outerhtml, etc etc, you might want to look through and find the one attribute that distinguishes the buttons from one another.

 

There is also Choose By Position. That sounds like what you might be looking for. It is in the right click menu, right under choose by attribute.

 

the position changes regularly so it would not be possible.

unfortunately, the submit button itself is the same on all the forms...

some times, just an INPUT data within the form changes...

 

the quantity of form per page changes regularly.

 

And there are occasions that i need to click ALL the submit button one at a time

Click submit -> wait finish -> return to page -> Click Next Submit -> Return ->etc...

But must not click the same button twice.

Link to post
Share on other sites

the position changes regularly so it would not be possible.

unfortunately, the submit button itself is the same on all the forms...

some times, just an INPUT data within the form changes...

 

the quantity of form per page changes regularly.

 

And there are occasions that i need to click ALL the submit button one at a time

Click submit -> wait finish -> return to page -> Click Next Submit -> Return ->etc...

But must not click the same button twice.

 

Did you change the attribute above where it says "Choose By Attribute"? (It may Say <A> and you can change it to something else like <TD>, etc)

 

 

 

  • Like 1
Link to post
Share on other sites

Did you change the attribute above where it says "Choose By Attribute"? (It may Say <A> and you can change it to something else like <TD>, etc)

 

Yes, tried it.

 

-------

 

This is not only applicable to this specific sample.. I have encountered other occasions where I just need to click one of the chosen elements. Encountered on links too...

 

My goal is to CLICK the element not to SCRAPE the specific element/s.

Link to post
Share on other sites

 

My goal is to CLICK the element not to SCRAPE the specific element/s.

 

 

 

I understand. What I meant was sometimes different attributes reveal unique identifiers.

 

 

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...