REST APIs and WebDriver: In Perfect Harmony
summary
Demo shows combining HTTP requests with WebDriver cuts setup time and flakiness by creating and manipulating state outside the UI. Using Postman and Rest Assured to POST bugs to Bugzilla, mapping responses to models, storing the returned ID to navigate directly and injecting login cookies into the browser reduces an end-to-end check from ~20s → ~8s. Code patterns include resource-based request classes, payload/response models, a cookie injection helper and a multi-language GitHub example; assertions remain unchanged and checks remain green.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:55Tools Bias
- 2:55Sacred Model
- 4:27Demo
- 5:45Identifying activities
- 9:08Postman Model
- 10:35Resource Model
- 14:15Creating a Bug
- 18:00State Management
- 21:37Wrap Up
- 22:45Fail Check
- 23:50Questions
related talks
37mAutomated Performance Testing With WebDriver
42mReliable and Maintainable Webdriver Tests
33mBeyond WebDriver!
01h 14mContinuous Testing
26mHow browser automation works behind the scenes
40mAmplifying Test Automation using REST Assured
01h 26mWorkshop: Reactive Browser Testing with WebDriver BiDi
29mAutomated Testing 101/Testing Web Apps 101
