Click or drag to resize

IWebObjectQuerySelectorT Method

Finds a child object that matches the specified CSS selector.

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
T QuerySelector<T>(
	string selector
)
where T : class, IWebObject

Parameters

selector
Type: SystemString
A CSS selector that describes the object to be returned.

Type Parameters

T
The interface that will be implemented in the returned object.

Return Value

Type: T
The found object or null.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also