Class
HtmlWaitExtensions

Class to extend the legacy HtmlWait. Adds ForSelectedIndex and ForSelectedValue methods.

Definition

Namespace:ArtOfTest.WebAii.Controls.HtmlControls

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public static class HtmlWaitExtensions

Inheritance: objectHtmlWaitExtensions

Methods

ForSelectedIndex(HtmlWait, int, int)

Wait for a specific selected index of the drop down.

Declaration

cs-api-definition
public static void ForSelectedIndex(this HtmlWait wait, int index, int timeout)

Parameters

wait

HtmlWait

The wait object.

index

int

The selection index to wait for.

timeout

int

The timeout to use.

ForSelectedValue(HtmlWait, string, int)

Wait for a specific selected value of the drop down.

Declaration

cs-api-definition
public static void ForSelectedValue(this HtmlWait wait, string value, int timeout)

Parameters

wait

HtmlWait

The wait object.

value

string

The selection value to wait for.

timeout

int

The timeout to use.