Screenshots using Selenium IDE Firefox plugin

前端 未结 1 1846
别跟我提以往
别跟我提以往 2020-12-17 01:31

Using Selenium IDE Firefox plugin, I want to take automated screenshots. The test script contains of two lines:

Command: open; Target: http://www.google.com
         


        
相关标签:
1条回答
  • 2020-12-17 02:34

    Setting the file path correctly solved it. The path needs to be set as follows:

    (Windows:)

    Command: captureEntirePageScreenshotAndWait; Target: D:\\Screenshots\\test.png
    

    (Linux:)

    Command: captureEntirePageScreenshotAndWait; Target: \\Screenshots\\test.png
    

    In this example, the folder 'Screenshots' must exist.

    0 讨论(0)
提交回复
热议问题