How to Automate Favicon Verification Through Selenium: Any Tips or Best Practices?

18 Replies, 2009 Views

Automating favicon through selenium? Yeah, it’s a thing. I usually grab the URL with `driver.find_element` and then use `requests` to download the favicon.

For missing favicons, I just log it and move on—no need to overcomplicate it. If you wanna verify the image, try using `imagehash` to compare it pixel by pixel.

Messages In This Thread



Users browsing this thread: 1 Guest(s)