C# Selenium with PhantomJSDriver get image width and height (获取图片的长和高)

mac2022-06-30  27

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

  

转载于:https://www.cnblogs.com/c-x-a/p/7994321.html

最新回复(0)