Tutorial by Topics: drive



This topic aims to show the basic web driver program in selenium supported languages like C#, Groovy, Java, Perl, PHP, Python and Ruby.

Journey includes opening browser driver --> Google Page --> shutdown the browser

This Simple Google App Web Script (Standalone) allows Google Drive to be repeated polled for files to be downloaded to the user's local PC. Shows how to use one app script to provide the function of both the: 1. User interface (a simple one in this example) 2. The file download page. For a fuller explanation of how it works read the Example "How it works".

Selenium webdriver is web automation framework which allows you to test your web application against different web browsers. Unlike Selenium IDE, webdriver allows you to develop your own test cases in programming language of your choice. It supports Java, .Net, PHP, Python, Perl, Ruby.

There are a number of exceptions that can be thrown while using a webdriver. The examples below are meant to give an idea of what they mean.

I switched to Selenium 3 and started using Chrome instead of Firefox. I discovered that for Chrome I need to download a binary for WebDriver to handle the browser. For that to work I need to set absolute path to this binary as Java variable. If binary gets updated, I need to update that binary manually in my test framework - which takes time and is really annoying. I discovered a very neat Java library that does it for me: https://github.com/bonigarcia/webdrivermanager


Page 1 of 2