Jump to content
UBot Underground

Waiting for one particular text item on a page to change


Recommended Posts

Not sure how to attack this one. Here's the situation:

 

I'm creating an ad submission bot for a particular service. The process is to fill in

the form. click Submit, wait for the submission to complete, and then do the same thing

over again with different ad details.

 

To wait for the submission to complete, I tried Wait Finish but that does not always work

since this does not bring up a new page and does not always redisplay the submission page

before Wait Finish "thinks" it has completed.

 

Here's what actually happens:

 

The first time I click the submit button, the text

 

"The following ad has been posted as: Post #xxxx on http://....."

 

appears on the submission page but nothing else changes. This text is not on the

initial submission page.

 

Fine, I know how to use Wait For to wait for that text to appear.

 

Now, fill in the form again (I'm using spun content) and hit Submit.

 

This time the only thing that changes when the submission is completed

is the #xxxx and the http://..... in the completion message.

 

So I need to figure out how to wait until one of those elements changes

the second and subsequent times through the loop.

 

Any suggestions?

Link to post
Share on other sites

I would start with "Wait Finish", add a deliberate delay (maybe 15 secs) and then finish with a "Wait For". Place all three together. The problem is with the website you are posting to so you will have to time that out and then build in a fudge factor to ensure accuracy that you can live with.

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