PacktLib: Selenium WebDriver Practical Guide

Selenium WebDriver Practical Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Introducing WebDriver and WebElements

Understanding the history of Selenium

Setting up a project in Eclipse

WebElements

Summary

Exploring Advanced Interactions of WebDriver

Understanding actions, build, and perform

Summary

Exploring the Features of WebDriver

Setting the desired capabilities for a browser

Taking screenshots

Locating target windows and iFrames

Exploring Navigate

Waiting for WebElements to load

Handling cookies

Summary

Different Available WebDrivers

FirefoxDriver

InternetExplorerDriver

ChromeDriver

SafariDriver

OperaDriver

Summary

Understanding WebDriver Events

Introducing EventFiringWebDriver and EventListener classes

Creating an instance of EventListener

Exploring different WebDriver event listeners

Summary

Dealing with I/O

Learning about the FileHandler class

Learning about the TemporaryFilesystem class

Learning about the Zip class

Summary

Exploring RemoteWebDriver and WebDriverBackedSelenium

Introducing RemoteWebDriver

Understanding the JSON wire protocol

Replacing the client library with your own code

Exploring WebDriverBackedSelenium

Summary

Understanding Selenium Grid

Exploring Selenium Grid

Understanding the hub

Understanding the node

Modifying the existing test script to use Selenium Grid

Configuring Selenium Grid

Summary

Understanding PageObject Pattern

Creating test cases for our WordPress blog

What is the PageObject pattern?

Good practices for the PageObjects design

Understanding loadable components

Working on an end-to-end example of WordPress

Summary

Testing iOS and Android Apps

Different forms of mobile applications

Available software tools

Automating iOS and Android tests using Appium

Summary

Index