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
Function QuerySelector(Of T As {Class, IWebObject}) (
selector As String
) As T
Dim instance As IWebObject
Dim selector As String
Dim returnValue As T
returnValue = instance.QuerySelector(selector)
generic<typename T>
where T : ref class, IWebObject
T QuerySelector(
String^ selector
)
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:
TThe found object or null.
Exceptions See Also