Jump to content
UBot Underground

Recommended Posts

Hi guys..

how do I set up my bot to click on a specified image that exists twice? It's an captcha image.

The site presents 4 images which 2 of them are identical and I have to click one of the identical ones

Link to post
Share on other sites

Usually Gogetta is right but from my experience Element Offset is not safe,you see when two or more elements are the same then you use positions on the page or (Element offsets),thing is these positions can change from time to time so your script could have errors i prefer to identify the element correctly that is why i asked you to show us your Code!

Link to post
Share on other sites

Usually Gogetta is right but from my experience Element Offset is not safe,you see when two or more elements are the same then you use positions on the page or (Element offsets),thing is these positions can change from time to time so your script could have errors i prefer to identify the element correctly that is why i asked you to show us your Code!

 

I don't feel that I am wrong now. The function is used when trying to identify elements that are identical (similar in every way). Based on the question posted by the OP these images are "identical".

 

I agree that it's not safe and it's best to look at other options first. But when the elements are in fact identical then the element offset is the function to use.

 

Try having a script click only the 2nd link.

 

Link

Link

Link

 

Now please, without using the element offset explain the correct way.

Link to post
Share on other sites

sometimes the same image exists in different size but the image url doesn't change. I need the bot to click the image url that exists twice for example: url.com/image/captcha1.png

I attached 3 examples of those images

 

http://s27.postimg.org/6nfpp7j7n/Screenshot_2015_01_05_10_34_00.png

http://s29.postimg.org/idzy2ttyv/Screenshot_2015_01_05_10_34_50.png

http://s2.postimg.org/wynmx7ttl/Screenshot_2015_01_05_10_39_46.png

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