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;
//get image width and height var image=driver.FindElement(By.ClassName("it-Header_authorImage")); var width = image.Size.Width; var height = image.Size.Height;