@thing-king/browser-client
v1.0.4
Published
Client used to interact with the `@thing-king` browser service via `@thing-king/metaform` `WebSocketTransport`
Downloads
1
Readme
@thing-king/browser-client
Client used to interact with the @thing-king
browser service via @thing-king/metaform
WebSocketTransport
Installation
npm install @thing-king/browser-client
Usage Example
import bClient from "@thing-king/browser-client";
(async () => {
const client = bClient(
// access_token
"xiIeU8FSqs-BmFQ33J0tA-Xx8vvx0YJ4-4ReVVMEEfS-M015GQZU"
);
await client.start();
const page = await client.newPage();
await page.goto("https://example.com");
})();