WebViewRenderWaitExtension extension

Render-finished signal primitives for InAppWebViewController.

on

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 for stableSamples consecutive 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 CSS selector in the live DOM.