Skip to content

Mastering Selenium WebDriver 3.0 - Second Edition, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Mastering-Selenium-WebDriver-3.0-Second-Edition

Repository files navigation

Mastering Selenium WebDriver 3.0, Second Edition

Mastering Selenium WebDriver 3.0 - Second Edition

This is the code repository for Mastering Selenium WebDriver 3.0 - Second Edition, published by Packt.

Boost the performance and reliability of your automated checks by mastering Selenium WebDriver

What is this book about?

The second edition of Mastering Selenium 3.0 WebDriver starts by showing you how to build your own Selenium framework with Maven. You'll then look at how you can solve the difficult problems that you will undoubtedly come across as you start using Selenium in an enterprise environment and learn how to produce the right feedback when failing. Next, you’ll explore common exceptions that you will come across as you use Selenium, the root causes of these exceptions, and how to fix them. Along the way, you’ll use Advanced User Interactions APIs, running any JavaScript you need through Selenium; and learn how to quickly spin up a Selenium Grid using Docker containers. In the concluding chapters, you‘ll work through a series of scenarios that demonstrate how to extend Selenium to work with external libraries and applications so that you can be sure you are using the right tool for the job.

This book covers the following exciting features:

  • Provide fast, useful feedback with screenshots
  • Create extensible, well-composed page objects
  • Utilize ChromeDriver and GeckoDriver in headless mode
  • Leverage the full power of Advanced User Interactions APIs
  • Use JavascriptExecutor to execute JavaScript snippets in the browser through Selenium

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

public class BasicTest 
{
  private ExpectedCondition<Boolean> pageTitleStartsWith(final
  String searchString) 
  {
    return driver -> driver.getTitle().toLowerCase().
    startsWith(searchString.toLowerCase());
  }
}

Following is what you need for this book: If you are a software tester or a developer with working experience in Selenium and competency with Java, who is interested in automation and are looking forward to taking the next step in their learning journey, then this is the book for you.

With the following software and hardware list you can run all code files present in the book (Chapter 1-15).

Software and Hardware List

Chapter Software required OS required
All Oracle JDK8 Windows, Mac OS X, and Linux (Any)
Maven 3 Windows, Mac OS X, and Linux (Any)
IntelliJ IDEA 2018 Windows, Mac OS X, and Linux (Any)
JMeter Windows, Mac OS X, and Linux (Any)
Zed Attack Proxy Windows, Mac OS X, and Linux (Any)
Docker Windows, Mac OS X, and Linux (Any)
Mozilla Firefox Windows, Mac OS X, and Linux (Any)
Windows, Mac OS X, and Linux (Any)
Windows, Mac OS X, and Linux (Any)
Windows, Mac OS X, and Linux (Any)
Google Chrome Windows, Mac OS X, and Linux (Any)
Windows, Mac OS X, and Linux (Any)
Windows, Mac OS X, and Linux (Any)

Related products

Get to Know the Author

Mark Collin has been working in the software industry since 2001. He started his career in the financial sector before moving into consultancy. He has an eclectic range of skills and proficiencies, which include test automation, security and penetration testing, and performance testing. Mark is the creator and maintainer of driver-binary-downloadermaven-plugin, and the Query library used in this book. He is also a core contributor to jmeter-maven-plugin, a tool that allows you to run JMeter tests through Maven. He has also contributed code to the core Selenium code base.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Mastering Selenium WebDriver 3.0 - Second Edition, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages