Chapter 6

  1. Answer: Create a profile object and call the setPreference() method with the needed details.
  2. Answer: We can use the FirefoxBinary class to tell it where to look.
  3. Answer: ChromeOptions.
  4. Answer: The PATH environment variable needs to be set with where the ChromeDriver executable lives. This is so that when we call ChromeDriver with our Java code, it will load the relevant executable and load the browser as quickly as possible.
  5. Answer: Use the latest stable version of Opera.
  6. Answer: Use the OperaProfile object and update the preferences where needed.
  7. Answer: All versions of IE6, IE7, IE8, and IE9 for both 32-bit and 64-bit installations.

Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.