Adds a link or array of links to the download queue for loadpage. Valid only inside the loadpage.
|link||String-link or an array of the links to the html page|
|param||With this optional parameter, you can pass a value into the body of next loadpage or submitform.|
When adding a link to the download queue only those links that have not been loaded by the current loadpage will be added.
Example 1. Lets do a search at ebay.com by java keyword in the Books category. There will also be a list of pages at the bottom of the page. We specify xpath element, responsible for the current page; and set the options next, we get a link pointing to the next page. Then we can go to this link and get a link to the next page again. So we will go through all the pages: