도서 정보
도서 상세설명
1: Creating a Fast Feedback Loop
Making it easy for developers to run tests
Building our test project with Apache Maven
Running your tests in parallel
Parallel tests with TestNG
There are no silver bullets
Multiple browser support
Downloading the WebDriver binaries automatically
Going headless
Summary
2: Producing the Right Feedback When Failing
Location, location, location
Tests are living documentation
Reliability
Baking in reliability
Continuous integration is the key
Extending our capabilities by using a Selenium Grid
A picture paints a thousand words
Don't be afraid of the big bad stack trace
Summary
3: Exceptions Are Actually Oracles
Are exceptions oracles?
NoSuchElementException
NoSuchFrameException
NoSuchWindowException
ElementNotVisibleException
StaleElementReferenceException
InvalidElementStateException
UnsupportedCommandException
UnreachableBrowserException
SessionNotFoundException
Summary
4: The Waiting Game
Are we nearly ready yet?
I've timed it and I know it takes 5 seconds for the page to load
So, what do we do?
I just want Selenium to do it for me
Using explicit waits
FluentWaits the core of explicit waits
Summary
5: Working with Effective Page Objects
Why do you keep repeating yourself?
Starting out with page objects
Using page objects to ensure good separation of concerns
Introducing the Java PageFactory class
Creating extensible page objects
Turning your page objects into a readable domain-specific language
Fluent page objects
Summary
6: Utilizing the Advanced User Interactions API
Getting started with the API
Using the API to solve difficult problems
Summary
7: JavaScript Execution with Selenium
Introducing the JavaScript executor
Let's not get carried away
So, what should we do with it?
I want to see a more complex example!
Can I use JavaScript libraries?
Should I inject JavaScript libraries?
What about asynchronous scripts?
Summary
8: Keeping It Real
Downloading files with Selenium
You cannot track the network traffic with Selenium
But I really want to track my network traffic!
Writing performance tests with Selenium
Penetration testing with Selenium
Summary
9: Hooking Docker into Selenium
Introducing Docker
Installing Docker
Spinning up a Selenium Grid with Docker
Running tests against our new Selenium Grid
Starting up Docker containers as part of the build
Using a Docker Maven plugin
The future with Docker
Summary
10: Selenium – the Future
Selenium the future of browser and device testing
If Selenium is the future, how can I help?
Making changes to Selenium
Summary
Appendix A: Index