qS | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/test-frontendqSFunction qSFind an element in the test window Param: node_or_selectorStarting node (optional) Param: selectorCSS selector to use ReturnsThe first matching element or 'null' if not matched qS<E extends Element = TestQueriedElement>( startnode: ParentNode, selector: string,): null | EType ParametersE extends Element = TestQueriedElementParametersstartnode: ParentNodeselector: stringReturns null | EqS<E extends Element = TestQueriedElement>(selector: string): null | EType ParametersE extends Element = TestQueriedElementParametersselector: stringReturns null | ESettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Find an element in the test window
Param: node_or_selector
Starting node (optional)
Param: selector
CSS selector to use
Returns
The first matching element or 'null' if not matched