RPi + Python Selenium Headless Browser Problem

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

RPi + Python Selenium Headless Browser Problem

Post by /RaspberryPi »

I have some code I’m running on my RPi Model 4. Using selenium I can run the code fine with the non-headless mode, but as soon as I turn it into a headless driver I get errors. It’s something to do with the sizing of the window becoming smaller in headless and this causing the clickable items to be obscured by other items overlayed in the browser.
I had this problem once before and resolved it by changing the headless display settings in the RPi configuration menu. But the same issue is occurring again and I now have my headless settings on 1920,1080.

submitted by /u/travnado300
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”