WebViewRenderWaitExtension extension
Render-finished signal primitives for InAppWebViewController.
Methods
-
waitForDomSettled(
{Duration timeout = const Duration(seconds: 10), Duration pollInterval = const Duration(milliseconds: 100), int stableSamples = 3}) → WebViewRenderWait -
Available on InAppWebViewController, provided by the WebViewRenderWaitExtension extension
Awaits a settled DOM: the document fingerprint (HTML length + element count) is unchanged forstableSamplesconsecutive probes. -
waitForSelector(
String selector, {Duration timeout = const Duration(seconds: 10), Duration pollInterval = const Duration(milliseconds: 100)}) → WebViewRenderWait -
Available on InAppWebViewController, provided by the WebViewRenderWaitExtension extension
Awaits the appearance of a CSSselectorin the live DOM.