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

18 Replies, 1647 Views

Automating favicon through selenium can be a pain, but it’s doable. I usually grab the URL with `driver.find_element` and then use `urllib` to download it.

For missing favicons, I just skip it and log the error. To verify the image, I use `Pillow` to check the dimensions and format.

Hope that helps!

Messages In This Thread



Users browsing this thread: 1 Guest(s)