How can I take a screenshot with Selenium WebDriver?

后端 未结 30 2631
不知归路
不知归路 2020-11-21 07:48

Is it possible to take a screenshot using Selenium WebDriver?

(Note: Not Selenium Remote Control)

30条回答
  •  情深已故
    2020-11-21 08:41

    You can create a webdriverbacked selenium object using the Webdriverclass object, and then you can take a screenshot.

提交回复
热议问题