All about Selenium Blog

Logging to ChromeDriver.log in Selenium

We can log the error messages and Verbose to ChromeDriver.log via Selenium by using the below code   System.Diagnostics.Process process = new System.Diagnostics.Process(); System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; // startInfo.FileName =...

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