Selenium for Writing Test Scripts

Selenium WebDriver

Selenium WebDriver is the most popular testing framework for web and mobile applications. There is a clear trend of more and more software companies, such as Facebook, desiring programmers and software test engineers with Selenium skills. Selenium supports all major browsers, tests can be written in many programming languages, and those tests can run on Windows, Linux, and Macintosh platforms.

Basics of a selenium script in Ruby

Creating a new session

Selenium has a WebDriver component that performs actions in the browser just like a user. The following code creates a new session for the chrome browser:

Get hands-on with 1400+ tech skills courses.