Author: Ramanean

Taking screenshots in Selenium with Ruby

Find the below that can be used to take screenshots in Selenium when you writing your Automated code in Ruby   require ‘rubygems’ require ‘selenium-webdriver’ driver = Selenium::WebDriver.for :ie driver.get “https://www.google.com” //This can be...

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...