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

18 Replies, 1984 Views

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

For missing favicons, I just log it and move on. To verify the image, I use `Pillow` to compare it with a known image.

Hope that helps!

Messages In This Thread



Users browsing this thread: 1 Guest(s)