import * as carol from "https://deno.land/x/carol@v1.1.2/deps.ts";
Classes
A Browser is created when Puppeteer connects to a Chromium instance, either through PuppeteerNode.launch or Puppeteer.connect. | |
The | |
The EventEmitter class that many Puppeteer classes extend. | |
c Page | Page provides methods to interact with a single tab or extension background page in Chromium. |
Functions
Make an assertion, error will be thrown if | |
Make an assertion that | |
Executes a function which returns a promise, expecting it to throw or reject. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted. Or you can pass a callback which will be passed the error, usually to apply some custom assertions on it. | |
Make an assertion that | |
Make an assertion that actual includes expected. If not then throw. | |
Concatenate multiple binary arrays and return new one. | |
Shorthand for new TextDecoder().decode() | |
Decodes a given RFC4648 base64 encoded string | |
Creates a Promise with the | |
Shorthand for new TextEncoder().encode() | |
CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation | |
Test whether or not the given path exists by checking with the file system | |
f fail | Forcefully throws a failed assertion |