> ## Content Index
> Fetch the complete content index at: https://www.kenst.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Practice using Selenium Now!
- URL: https://www.kenst.com/practice-using-selenium-now/
- Published: 2017-01-29T21:53:00.000Z
- Updated: 2022-06-09T22:02:00.000Z
- Author: Chris Kenst
- Tags: Education, Ruby, Selenium, Teaching, Test Automation, Tutorials

Have you ever wanted to learn a little bit about Selenium WebDriver but didn’t know where to start?

Turns out there are some good tips / tutorials online for practicing writing Selenium in Ruby. One of those is a newsletter called [Elemental Selenium](http://elementalselenium.com/tips?ref=kenst.com) that has something like 70 tips. You can sign up for the newsletter if you want but what I found valuable was to look at several of these tips, write them out (don’t copy + paste) and make sure you understand what they do. Turns out when you do this and you commit them to a repo, you can reference back to them when you come across similar problems in the future.

Simply stated the goal is to:

1. Read through the Elemental Selenium tips and then write (don’t copy + paste) the code yourself.
2. Try running the tests locally and see how things work.
3. Once you’ve written a few tests, refactor those example tests so they become more DRY (don’t repeat yourself). Create page objects.
4. Commit these to your own repo on GitHub.

Putting your code on GitHub will have the benefit of showing you can write (at least) basic selenium automation. Although this code may not be your “best foot forward” given how new you’ll be, it is a starting point. As you learn more and make improvements, your code will reflect this.

These tips are (hopefully) grouped correctly but within each group there may be some variance. See if you can do one or two per day (some will be easier than others). If you see something interesting and want to jump to it immediately, go for it.

**Beginning to Intermediate**:

- Tip #5 – [Select from a Dropdown](http://elementalselenium.com/tips/5-select-from-a-dropdown?ref=kenst.com)
- Tip #1 – [Upload a File](http://elementalselenium.com/tips/1-upload-a-file?ref=kenst.com)
- Tip #13 – [Work with Basic Auth](http://elementalselenium.com/tips/13-work-with-basic-auth?ref=kenst.com)
- Tip #26 – Run tests in the [Cloud](http://elementalselenium.com/tips/26-cloud?ref=kenst.com)
- Tip #35 – [Verifying Locators](http://elementalselenium.com/tips/verifying-locators?ref=kenst.com)
- Tip #51 –[JavaScript Alerts](http://elementalselenium.com/tips/51-javascript-alerts?ref=kenst.com)

**Intermediate to Advanced**:

- Tip #7 – [Use a Page Object](http://elementalselenium.com/tips/7-use-a-page-object?ref=kenst.com)
- Tip #47 – [Waiting](http://elementalselenium.com/tips/47-waiting?ref=kenst.com)
- Tip #10 – [Retry Test Actions](http://elementalselenium.com/tips/10-retry-test-actions?ref=kenst.com)
- Tip #19 – [Data Driven Tests](http://elementalselenium.com/tips/19-data-driven-testing?ref=kenst.com)
- Tip #44 – [Exception Handling](http://elementalselenium.com/tips/44-exception-handling?ref=kenst.com)
- Tip #12 – [Opt out of A/B Tests](http://elementalselenium.com/tips/12-opt-out-of-ab-tests?ref=kenst.com)
- Tip #27 – [Running tests in Parallel](http://elementalselenium.com/tips/27-parallel?ref=kenst.com)

I’ve recommend a few people try this exercise because I found it valuable. Am I missing anything else? Has anyone else done something similar but in a different language or tool?