首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
C# Selenium with PhantomJSDriver get image width and height (获取图片的长和高)
C# Selenium with PhantomJSDriver get image width and height (获取图片的长和高)
mac
2022-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
转载请注明原文地址: https://mac.8miu.com/read-68119.html
最新回复
(
0
)