import
{ runInBrowser }
from
'@anon/sdk-typescript';
import
{ Page }
from
'playwright';
await runInBrowser({
account: {
app: 'grubdash',
userId: 'user_1234'
},
url: 'https://grubdash.xyz',
headless: false,
script: async
( page: Page ) => {
// Now you're ready to perform actions on the user's behalf using a logged in playwright instance.
console.log('Order Pizza!');
// Confirm action
await page.goto('https://grubdash.xyz/order/status');
const deliveryAddress = 'San Francisco Office';
// Your code here_
}
})
Support for a constantly expanding set of the most popular integrations on the internet.
A toolkit to authenticate users and manage existing sessions with built-in security and tooling for reliability and resiliance.
Support for SSO, OAuth, 2FA, CAPTCHAs, and any other standard type of authentication.
Anon never sees or shares user credentials; authenticated sessions are stored using a zero trust architecture.
Anon supports applications across the most common mobile, web, and desktop interfaces.