crawler.form_interaction.pre_crawl.[groupId].form_number

Specifies which form element at the specified URL should be processed.

Key: crawler.form_interaction.pre_crawl.[groupId].form_number
Type: Integer
Can be set in: collection.cfg

Description

This parameter specifies which form within the page should be should be used by the pre-crawl form interaction rule. The form number is determined by counting the html form tags in the order of occurrence in the page. For pages with only one form a value of 1 should be used.

Configuration parameters for a rule are grouped using a groupId value common across all settings that make up the rule.

This setting is used in conjunction with the crawler.form_interaction.pre_crawl.[groupId].url key.

Default Value

None.

Examples

Configure the web crawler to submit the second form found at https://www.example.com/login.

crawler.form_interaction.pre_crawl.1.url=https://www.example.com/login
crawler.form_interaction.pre_crawl.1.form_number=2

© 2015- Squiz Pty Ltd