# ErrorPageRegex

A Perl-compatible regular expression that the value of the selected element or attribute must match, for the connector to detect an error.

- If you set ErrorPageCssSelector but not ErrorPageAttribute, the connector detects an error when the full text content of the selected element matches the specified regular expression. If you do not set this parameter, the specified element only has to exist.
- If you set ErrorPageCssSelector and ErrorPageAttribute, the connector detects an error when the full value of the selected attribute matches the specified regular expression. If you do not set this parameter, the specified attribute only has to exist.

Type: | String (regular expression)
Default: |
Required: | No
Configuration Section: | Any section that you have defined with the ErrorPageSections parameter, or TaskName or FetchTasks
Example: | `ErrorPageRegex=.*failed.*`
See Also: | ErrorPageCssSelector ErrorPageAttribute

_FT_HTML5_bannerTitle.htm