Skip to content

Interface: WaitForSelectorOptions

Defined in: node_modules/.pnpm/puppeteer-core@24.38.0/node_modules/puppeteer-core/lib/types.d.ts:8358

Extended by

Properties

PropertyTypeDefault valueDescriptionDefined in
visible?booleanfalseWait for the selected element to be present in DOM and to be visible. See ElementHandle.isVisible for the definition of element visibility.node_modules/.pnpm/puppeteer-core@24.38.0/node_modules/puppeteer-core/lib/types.d.ts:8365
hidden?booleanfalseWait for the selected element to not be found in the DOM or to be hidden. See ElementHandle.isHidden for the definition of element invisibility.node_modules/.pnpm/puppeteer-core@24.38.0/node_modules/puppeteer-core/lib/types.d.ts:8373
timeout?number30_000 (30 seconds)Maximum time to wait in milliseconds. Pass 0 to disable timeout. The default value can be changed by using Page.setDefaultTimeoutnode_modules/.pnpm/puppeteer-core@24.38.0/node_modules/puppeteer-core/lib/types.d.ts:8381
signal?AbortSignalundefinedA signal object that allows you to cancel a waitForSelector call.node_modules/.pnpm/puppeteer-core@24.38.0/node_modules/puppeteer-core/lib/types.d.ts:8385

Matterway Assistant SDK Documentation