-1

My question is related to showing the logo image at the top of the webpage. Something that you can see if you can go to youtube or even stackoverflow.

enter image description here

Is this some kind of image that we upload. And can we check for this using Selenium? Something we do if we want to check if an image is shown on a webpage?

demouser123
  • 4,108
  • 9
  • 50
  • 82
  • check for the head contents in html page. You would see a tag for image in there. – Vivek Singh Jan 18 '15 at 11:22
  • possible duplicate of [How can I get site's favicon using Selenium](http://stackoverflow.com/questions/8522683/how-can-i-get-sites-favicon-using-selenium) – Louis Jan 18 '15 at 12:00

2 Answers2

1

You are talking about http://en.wikipedia.org/wiki/Favicon

and you will find an answer here: How can I get site's favicon using Selenium

Community
  • 1
  • 1
Piotr Boho
  • 2,650
  • 2
  • 13
  • 20
-1

You can also use the grabicon.com API if you need to get favicons for a lot of sites, programmatically. For example, this will give you a 32 pixel version of Wikipedia's logo/favicon:

http://api.grabicon.com/icon?domain=wikipedia.org&size=32

Full disclosure, I'm the creator of grabicon, but this does answer your question and it's free.

Jaime Bellmyer
  • 23,051
  • 7
  • 53
  • 50