how to search through all document? is there a tutorial?You can use -1 as form number to search through all document.
for example, one site the doucumet is 0 and the form is 0, one site the doucumet is 0 and the form is 1,the third one the doucumet is 0;0 and the form is 1, how to recording a common script???
yes,you are right, but it is hard to pinpoint something particular , such as the loginname form id is "file_2" in one site, but other site the form id "file_2" is passwords form, how can pinpoint something particular except from the form id?He just showed you above. Change the document and form values to -1 and it will search all forms and document addresses. You will have to be real particular about the search elements doing this. Don't rely on using input:submit or input:text for the search attributes. You will have to pinpoint something particular to the exact form or submit button. Look at the outerhtml closely.
In that case look at the other attributes for the forms. Maybe something in the outerhtml that distinguishes it. I have actually just filled out all the forms on the page and then that way you just have to make sure you hit the right submit button and not the search or login button. As fast as zenno is, sometimes it is just easier that way.yes,you are right, but it is hard to pinpoint something particular , such as the loginname form id is "file_2" in one site, but other site the form id "file_2" is passwords form, how can pinpoint something particular except from the form id?