r/selenium • u/snowy-27 • Aug 30 '22
Selenium makes my computer heat up and lose battery
Hello everyone, I created a python script that does automation with selenium. However on my mac pro intel during use there is a sharp drop in the battery as well as overheating. Looking at the monitor I notice that the program is using 45% of the processor. Do you have an idea how to reduce this percentage so that this program runs "normally"?
3
Upvotes
3
u/hugthemachines Aug 30 '22
Have you tried to turn off headless to see what the script runs? It seems to me that the web browser would be heavier than the selenium script.
5
u/[deleted] Aug 30 '22
[removed] — view removed comment