Skip to content

Now we can record the execution of selenium webdriver without worrying about minimized screen.

License

Notifications You must be signed in to change notification settings

racchouhan12/WebDriverVideoRecorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


WebDriverVideoRecorder
WebDriverVideoRecorder

A library to record Selenium Webdriver test execution as video.

How To UseMavenCreditsLicense

An idea to create test execution recorder

The idea to create this project came when there was a failure in a huge transaction E2E scenario and to debug the test script, a visual representation of whole process was needed. No doubt there are ways we can achieve this but the problem with all those ways is that one has to keep his/her execution window in focus and cannot use the system. This library helps you use your system while executing tests and recording the same.

Note

This library might not give you perfect results for some websites or application under test. There is still scope for improvement. Please contact the developers for any feedback.

How To Use

To use this for now just include WebDriverVideoRecorder and dependencies in POM into your project.

Do the following in your test -

//Create instance of WebDriverVideoRecorder by passing WebDriver instance  
WebDriverVideoRecorder videoRecorder = new WebDriverVideoRecorder(driver);
 
//Set Recorder method   
videoRecorder.setRecorder(videoRecorder);
 
//Start recording
//arg1 : path of the video, arg2 : name of the video 
videoRecorder.getRecorder().startRecording(oneInstance.getAsString(KEYS.PROJECT_PATH.name()) + "/verifyBasicSearch", "basicSearch");
  
//To stop recording  
videoRecorder.getRecorder().stopRecording();

Maven

Add this library as a maven dependency. TODO

Credits

This library uses the following open source packages:

License

MIT


Rakesh's Github @racchouhan12  ·  Pankaj's Github @PankajRPandey

About

Now we can record the execution of selenium webdriver without worrying about minimized screen.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages