attachToDOM
attachToDOM(
driver,host,opts?): () =>void
Defined in: src/driver/web/dom.ts:131
Wire a WebDriver to a DOM element: frames render as HTML inside it,
and its keyboard/mouse/paste events drive the app. Returns a detach
function. Browser-only — requires document.
Parameters
Section titled “Parameters”driver
Section titled “driver”HTMLElement
AttachOptions = {}
Returns
Section titled “Returns”() => void