Webtest WebTest GitHub Home

Core Step verifyElement

Description

This step verifies the existence of a particular HTML element (tag) in the result page. It is identified by its HTML element type (e.g. TITLE, HEAD, etc.) and the text value of the NAME attribute.

Parameters

text
Required? yes
The text value to verify against.
type
Required? yes
description
Required? no
The description of this test step.
regex
Required? no, default is 'false'
Specifies whether the text value represents a regular expression.