C# Class Bumblebee.Implementation.WebBlock

Base block for typical web pages allowing for specifying a common wait timeout for finding elements.
Inheritance: Block
Exibir arquivo Open project: bumblebee/bumblebee

Protected Methods

Method Description
WebBlock ( Session session ) : System

Default constructor.

The default timeout for waiting for elements is 3000 ticks (3-100 nano seconds). If you need to override this value, call the other constructor.

WebBlock ( Session session, System.TimeSpan timeout ) : System

Constructor that allows for overriding the default timeout for waits.

Method Details

WebBlock() protected method

Default constructor.
The default timeout for waiting for elements is 3000 ticks (3-100 nano seconds). If you need to override this value, call the other constructor.
protected WebBlock ( Session session ) : System
session Session The sessionto be used for finding elements in the derived page.
return System

WebBlock() protected method

Constructor that allows for overriding the default timeout for waits.
protected WebBlock ( Session session, System.TimeSpan timeout ) : System
session Session The session to be used for finding elements in the derived page.
timeout System.TimeSpan The timeout period for waits represented as a TimeSpan
return System