Jump to content
UBot Underground

Clicking A Button - Should Work But Doesn't


Recommended Posts

Hi

Trying to write a script that downloads a pdf file from a Sudoku puzzle generator site.

The salient code is:

 

 navigate("http://www.opensky.ca/~jdhildeb/software/sudokugen/","Wait")
    wait(2)
    focus(<name="_action_generate">)
    click(<type="submit">,"Left Click","Yes")
    wait(2)
  ...

 

The problem is that when the script elements are tested one at a time, everything works as expected. But when it's run as a script, nothing happens when the submit button is hit.

 

I've tried changing the user agent - no improvement. This is Ubot v 5.9.50

Ideas?

 

Thanks and Happy new Year!

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