I am trying to click "Images" link in Google page.
The browser I am using is Chrome. you go to Google and enter something on the searchbox, then all the links are appeared. I was successful up to this point. After this, I right clicked my mouse on Image hyperlink on Google and selected "Inspect element' option. There was no 'id' for Images hyperlink
Some of codes I used for this were
var imageLink = driver1.FindElement(By.XPath(@"//*[@id=""hdtb_msb""]/div/a"));
var imageLink = driver1.FindElements(By.ClassName("q_qs"));
I also used LinkText and TagName, but the exceptions were returned.
I am using C# in Visual Studio 2013 ultimate version.
Can anybody help me with this?