Module

x/puppeteer/mod.ts>WaitForSelectorOptions

A port of puppeteer running on Deno
Latest
interface WaitForSelectorOptions
import { type WaitForSelectorOptions } from "https://dotland.deno.dev/x/puppeteer@16.2.0/mod.ts";

Properties

optional
visible: boolean

Wait for the selected element to be present in DOM and to be visible, i.e. to not have display: none or visibility: hidden CSS properties.

optional
hidden: boolean

Wait for the selected element to not be found in the DOM or to be hidden, i.e. have display: none or visibility: hidden CSS properties.

optional
timeout: number

Maximum time to wait in milliseconds. Pass 0 to disable timeout.

The default value can be changed by using {@link Page.setDefaultTimeout}

optional
deprecated
root: ElementHandle<any>
import WaitForSelectorOptions
import { WaitForSelectorOptions } from "https://dotland.deno.dev/x/puppeteer@16.2.0/mod.ts";

Copyright 2020 Google Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.