Skip to content

Interface: WaitForSelectorOptions

Defined in: node_modules/.pnpm/puppeteer-core@24.37.0_typescript@5.9.3/node_modules/puppeteer-core/lib/types.d.ts:8352

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.37.0_typescript@5.9.3/node_modules/puppeteer-core/lib/types.d.ts:8359
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.37.0_typescript@5.9.3/node_modules/puppeteer-core/lib/types.d.ts:8367
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.37.0_typescript@5.9.3/node_modules/puppeteer-core/lib/types.d.ts:8375
signal?AbortSignalundefinedA signal object that allows you to cancel a waitForSelector call.node_modules/.pnpm/puppeteer-core@24.37.0_typescript@5.9.3/node_modules/puppeteer-core/lib/types.d.ts:8379

Matterway Assistant SDK Documentation