#21 new

2 forms in a page

Reported by orisun | June 2nd, 2009 @ 06:48 PM

during my experiences with scrybt I faced a problem with a web page with two forms. Submit uses the last form.

HOw is it possible to submit the first one or how can I control this problem. I tried it with submit (index), it doesn't help!
I tried like this:
submit "/html/body/table/tbody/tr[4]/td[2]/div/div/div[3]/form[1]"
It is the same, the second form is the same.
In the forms there is not any text_field to be filled.
I attach a copy of the html page and my ruby code.

I would like understand how can I control this to work with this tool.

Thanks for help...

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A simple to learn and use, yet powerful web scraping toolkit written in Ruby.

People watching this ticket