Jump to content
UBot Underground

Recommended Posts

I am trying to use xpath to click on the second element in this code with the type "submit"

<form action="somewebsite.com" method="POST" class="manage ">
                                      <input name="action" value="renew" type="hidden">
                                          <input name="crypt" value="U2FsdGVkX180NDM4NDQzONe9PvWMxP9Xj6XCcek741gG7yEIlidzCg" type="hidden">
                                      <input name="go" value="renew" class="managebtn" type="submit">
                                  </form>

I tried this 

 

x://input[@value=renew]//@type

 

but it finds both of these - hidden and submit.  Any way to limit it to just the one with type="submit"?

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