Is there any video recorder for Selenium WebDriver?
Asked Answered
C

3

6

i am working in Selennium Webdriver2 with IE specific application. i know we can take the screenshots of the execution. similarly, Is there any option to record selenium execution as a video?

Colwell answered 20/8, 2013 at 11:27 Comment(2)
Not anything inherently present in webdriver. Previously, I've wanted this behaviour, but have since realized that a timely screenshot will help me more than having to go through a video, trying to identify a certain frame.Viscardi
There are providers out there like sauce labs or testing bot which record a video and take screenshots of your tests.Marbut
C
2

This API helped me in solving the above problem, this is for your reference guys,

Colwell answered 27/8, 2013 at 4:18 Comment(6)
This is only partially helpful because it will record the screen of the host computer, NOT the screen of the remote control computersIlium
@gorbysbm Yeah, i do agree with youColwell
The link is dead.Watford
@MirkoSeifert My blog host recently closed down their operations and I didn't take a backup. All my three years of data gone in a sec. Hows cool is that huh ? Time being use this alternative snippet. memorynotfound.com/selenium-record-video-junit-javaColwell
@Colwell Can you please update your answer so other users do not need to read the comments to figure out the correct link? Thanks!Watford
@MirkoSeifert DoneColwell
M
3

There is nothing in WebDriver.

Sauce uses http://www.ffmpeg.org/ to record video's. There are other options like https://code.google.com/p/java-remote-control/.

Generally the answer is that if you want to do it, you are going to have to implement it yourself.

Mezoff answered 20/8, 2013 at 14:47 Comment(0)
C
2

This API helped me in solving the above problem, this is for your reference guys,

Colwell answered 27/8, 2013 at 4:18 Comment(6)
This is only partially helpful because it will record the screen of the host computer, NOT the screen of the remote control computersIlium
@gorbysbm Yeah, i do agree with youColwell
The link is dead.Watford
@MirkoSeifert My blog host recently closed down their operations and I didn't take a backup. All my three years of data gone in a sec. Hows cool is that huh ? Time being use this alternative snippet. memorynotfound.com/selenium-record-video-junit-javaColwell
@Colwell Can you please update your answer so other users do not need to read the comments to figure out the correct link? Thanks!Watford
@MirkoSeifert DoneColwell
S
0

Selenium provides us with the feature to run the automation code/suite and record the output as a video and save it on your system. This video can then be shared with anyone who can see what the automation is doing. First of all, to enable video recording, we need to download some important jars. They are freely available to download from Google. Below are the jars to be downloaded. These are the latest version available, any other version can also be downloaded:

ATUReporter_Selenium_testNG_5.1.1 and ATUTestRecorder_2.1

Complete code can be found here: https://mytechdevice.com/how-to-record-video-of-automation-output-in-selenium/

Scammon answered 18/1, 2021 at 10:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.