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,): E | nullType ParametersE extends Element = TestQueriedElementParametersstartnode: ParentNodeselector: stringReturns E | nullqS<E extends Element = TestQueriedElement>(selector: string): E | nullType ParametersE extends Element = TestQueriedElementParametersselector: stringReturns E | nullSettingsMember 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