3 ms·
If you'd be standing up CDP to grab the cookies, you'd probably use Puppeteer or Playwright instead of Selenium.
by bdcravens 4y ago
If you'd be standing up CDP to grab the cookies, you'd probably use Puppeteer or Playwright instead of Selenium.
- juujian 4y agoAppreciate the recommendation, I just used whatever python had to offer, Puppeteer looks promising though!
- bdcravens 4y agoUsing the tools at hand is often the best approach. That said, I've spent most of the last 13 years of my career automating browsers. For years, I used Selenium with a variety of libraries. After switching to Puppeteer/Playwright, I have zero interest in going back lol. Playwright actually has first party Python support. (Puppeteer has a port called Pyppeteer, but it's no longer maintained and the author recommends using Playwright) https://playwright.dev/python/ https://playwright.dev/python/
- rgrieselhuber 4y agoI second Playwright, it's amazing.
- robertlagrant 4y agoThird.