//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;
相关文章: