ForbidPattern(String) Method

Definition

Assembly HeadlessTestingFramework.dll

Forbids a specific pattern from existing.

public TreeValidator ForbidPattern(string pattern)

Parameters

pattern
String

The XPath pattern that must not match.

Returns

TreeValidator
This validator for chaining.