All about Selenium Blog

Taking screenshots in Selenium with Javascript

Using the below code we can even take screenshots with Javascript and the most important thing is this Javascript can be executed by any language using the Javascript executor   //Driver refers to Selenium...