You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { auto } from "auto-playwright";
(async () => {
const browser = await chromium.launch({ headless: true });
const context = await browser.newContext();
const page = await context.newPage();
// Navigate to a website
await page.goto('https://www.example.com');
// `auto` can query data
// In this case, the result is plain-text contents of the header
const headerText = await auto("get the header text", { page});
....
``
is it possible?
The text was updated successfully, but these errors were encountered:
I'd like to run it like so:
The text was updated successfully, but these errors were encountered: