Skip to content

load cookies from the web extension #13

Description

@todo

// TODO load cookies from the web extension
const cookiesObject = await page.cookies();
fs.writeFileSync(cookiesPath, JSON.stringify(cookiesObject));
console.log('Session has been saved to ' + cookiesPath);
await browser.close();


This issue was generated by todo based on a TODO comment in c46a79a. It's been assigned to @alanwu4321 because they committed the code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions