Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load cookies from the web extension #13

Open
todo bot opened this issue Apr 13, 2021 · 0 comments
Open

load cookies from the web extension #13

todo bot opened this issue Apr 13, 2021 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Apr 13, 2021

// 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.
@todo todo bot added the todo 🗒️ label Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant