Banner image

Creating a Selenium WebDriver test framework

Matthew Casperson

This blog series steps through the process of writing WebDriver UI tests in Java from the first line of code through to running tests at scale in the cloud.

The source code that accompanies this blog series can be found at GitHub.

  1. What is WebDriver and Selenium
  2. The Maven POM file
  3. The first test
  4. Creating the framework
  5. A Sample web page
  6. Finding elements by XPaths and CSS selectors
  7. Implicit and Explicit Waits
  8. Mixing implicit and explicit waits
  9. Simplified element location
  10. Headless browsers
  11. Adding the BrowserMob proxy
  12. Firefox debugging tips
  13. Capturing HAR files
  14. Modifying HTTP requests
  15. Modifying HTTP responses
  16. Uploading the Web Page to S3
  17. Running tests against browserStack
  18. Running tests on mobile devices
  19. Environment specific handling
  20. Populating the GIT repo
  21. Travis CI
  22. The TicketMonster test
  23. The Page Object Model pattern
  24. Reusing POM classes
  25. Implementing Cucumber
  26. Exposing Gherkin steps
  27. Writing a Gherkin feature
  28. Installing serverless
  29. Preparing the Lambda resources
  30. Creating an UberJAR
  31. Deploying a simple Lambda function
  32. Launching Cucumber tests as Lambdas
  33. Asynchronous Lambdas
  34. Emailing the results
Matthew Casperson

Related posts