Open-sourced code examples Elemental Selenium tips
JavaScript Ruby Java C# HTML Python
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
01-upload-a-file Added updated Gemfile Oct 31, 2017
02-download-a-file Updated 02-ruby to use newer selenium / syntax and fix up properties … Nov 3, 2017
03-work-with-frames Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
04-work-with-multiple-windows Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
05-select-from-a-dropdown Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
06-export-from-selenium-ide/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
07-use-a-page-object refactor class names Aug 9, 2016
08-download-a-file-revisited Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
09-use-a-base-page-object Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
10-retry-test-actions added Java select from dropdown example Aug 9, 2016
11-build-an-interactive-prompt added Java select from dropdown example Aug 9, 2016
12-opt-out-of-ab-tests Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
13-work-with-basic-auth Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
15-download-secure-files/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
16-take-screenshot-on-failure Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
17-retrieve-http-status-codes added Java select from dropdown example Aug 9, 2016
19-data-driven-testing Looks great! A couple of small tweaks. I took out the print statement… Jun 2, 2018
22-locator-strategy refactor class names Aug 9, 2016
23-dynamic-pages Looks good. Made the same tweaks to this one as 19-data-driven-testin… Jun 2, 2018
25-tables Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
26-cloud/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
27-parallel/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
29-chrome-driver Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
30-mobile/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
32-css-vs-xpath/ruby Added ruby directory to examples that were missing them Feb 29, 2016
33-xpath-vs-css-revisited/ruby Added ruby directory to examples that were missing them Feb 29, 2016
38-headless added Java select from dropdown example Aug 9, 2016
39-drag-and-drop 39 Drag and Drop C# Example Jul 12, 2016
40-disabled-element Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
41-one-test-multiple-browsers/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
42-one-test-multiple-browsers-parallel/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
43-forgot-password/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
44-exception-handling/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
45-checkboxes Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
46-headless-ghostdriver refactor class names Aug 9, 2016
47-waiting/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
48-load-testing/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
49-performance-testing/ruby Updated example 49 and the version of browsermob proxy Apr 11, 2016
50-hovers Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
51-javascript-alerts Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
52-grid Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
53-growl Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
54-logging/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
55-wrapper/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
57-junit-xml/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
58-tagging/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
59-html-reporting/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
60-list-tags/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
61-keyboard-keys Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
63-right-click Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
64-limit-bandwidth/ruby Updated code examples with latest revisions and cleaned up excess files Feb 27, 2016
65-highlight-elements Merge pull request #16 from RomanIsko/java-package-name Jun 30, 2017
66-blacklist added Java select from dropdown example Aug 9, 2016
67-broken-images added Java select from dropdown example Aug 9, 2016
68-load-testing-revisited refactor class names Aug 9, 2016
69-safari added Java select from dropdown example Aug 9, 2016
71-internet-explorer/csharp Simplified structure of tip 71 folders and namespacing Jun 14, 2016
72-headless-chrome/ruby Added a comment Oct 4, 2017
vendor Updated Chromedriver binaries and pull in the updated versions of the… Nov 17, 2016
.gitattributes Adding gitattributes for consistent line-endings Jun 8, 2016
.gitignore Updated Chromedriver binaries and pull in the updated versions of the… Nov 17, 2016
.ruby-version Added updated Gemfile Oct 31, 2017
LICENSE Updated year in license Feb 29, 2016
README.md Minor edits to the readme Jan 20, 2015

README.md

Elemental Selenium Tips

Here are all of the code examples from the Elemental Selenium Tip Archives.

They're currently only available in Ruby. But for each one that gets converted to a new programming language, I'll do a full write-up for it.

To submit your entry:

  1. Fork the repo
  2. Choose a tip to port
  3. Add a folder to it for the language you want (e.g., javascript, java, csharp, php, python, etc.)
  4. Write the code example
  5. Submit a pull request

Happy Testing!

Cheers,
Dave H
@TourDeDave