Web应用软件测试(中级)课件:页面截图操作方法使用.pptxVIP

  • 0
  • 0
  • 约小于1千字
  • 约 5页
  • 2026-02-11 发布于山东
  • 举报

Web应用软件测试(中级)课件:页面截图操作方法使用.pptx

页面截图操作方法使用

目录01页面截图操作方法使用

页面截图操作方法使用01

页面截图操作方法使用实例:(1)进入人力资源综合服务系统登录页面;(2)对登录页面进行截图操作。在PyCharm中进行代码编写:fromseleniumimportwebdriverdriver=webdriver.Chrome()driver.get(#进入人力资源综合服务系统登录页面driver.get_screenshot_as_file(rC:\Users\Public\Pictures\SamplePictures\denglu.png)#截图操作截图方法:get_screenshot_as_file(self,filename)代码如下:driver.get_screenshot_as_file(r路径名\图片名字)

感谢观看

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档