//get image width and height var image=driver.FindElement(By.ClassName("it-Header_authorImage")); var width = image.Size.Width; var height = image.Size.Height;