qR | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/test-frontendqRFunction qRFind a unique element in the test window, throw if not found Param: node_or_selectorStarting node (optional) Param: selectorCSS selector to use ReturnsThe only matching element. Throws if not found qR<E extends HTMLElement = TestQueriedElement>( startnode: ParentNode, selector: string,): EType ParametersE extends HTMLElement = TestQueriedElementParametersstartnode: ParentNodeselector: stringReturns EqR<E extends HTMLElement = TestQueriedElement>(selector: string): EType ParametersE extends HTMLElement = TestQueriedElementParametersselector: stringReturns ESettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Find a unique element in the test window, throw if not found
Param: node_or_selector
Starting node (optional)
Param: selector
CSS selector to use
Returns
The only matching element. Throws if not found