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.
- What is WebDriver and Selenium
- The Maven POM file
- The first test
- Creating the framework
- A Sample web page
- Finding elements by XPaths and CSS selectors
- Implicit and Explicit Waits
- Mixing implicit and explicit waits
- Simplified element location
- Headless browsers
- Adding the BrowserMob proxy
- Firefox debugging tips
- Capturing HAR files
- Modifying HTTP requests
- Modifying HTTP responses
- Uploading the Web Page to S3
- Running tests against browserStack
- Running tests on mobile devices
- Environment specific handling
- Populting the GIT repo
- Travis CI
- The TicketMonster test
- The Page Object Model pattern
- Reusing POM classes
- Implementing Cucumber
- Exposing Gherkin steps
- Writing a Gherkin feature
- Installing serverless
- Preparing the Lambda resources
- Creating an UberJAR
- Deploying a simple Lambda function
- Launching Cucumber tests as Lambdas
- Asynchrounous Lambdas
- Emailing the results