Configuring Selenium to Run Headless, Without a Desktop
This is part 2 of my selenium exploration trying to fetch stories from the NY Times ((as a subscriber).
- Part I: Selenium Basics
- Part II: Running Headless on a Server (this article)
- Part III: Handling Errors and Timeouts
When we left off, I was learning the basics of selenium in order to fetch stories (as a subscriber) from the New York Times. Fetching stories was working properly, and all that remained was to put it in an automated script, then move it to a server where it could run automatically without my desktop machine needing to be on.
Unfortunately, that turned out to be the hardest part of the problem.
[ 12:18 Nov 07, 2021 More programming | permalink to this entry | ]