C# Selenium with PhantomJSDriver get image width and height (获取图片的长和高)
//get image width and height
var image=driver.FindElement(By.ClassName("it-Header_authorImage"));
var width = image.Size.Width;
var height = image.Size.Height;

浙公网安备 33010602011771号