Skip to Main Content
Selenium WebDriver 3 Practical Guide - Second Edition
book

Selenium WebDriver 3 Practical Guide - Second Edition

by Pallavi Sharma, UNMESH GUNDECHA, Satya Avasarala
July 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
7h 27m
English
Packt Publishing
Content preview from Selenium WebDriver 3 Practical Guide - Second Edition

Dealing with Firefox preferences

So far, we have learned about Firefox profiles, and how we can create our own customized profiles for Firefox Driver. Now, let's see how we can set our preferences in the profiles we create and where FirefoxDriver stores them.

According to Mozilla, a Firefox Preference is any value or defined behavior that can be set by a user. These values are saved to the preference files. If you open the profile directory by navigating to Help | Troubleshooting Information and clicking on the Show Folder button, you will see two preference files: prefs.js and user.js. All the user preferences are written to the prefs.js file by the Firefox application during the launch. A user can override those values for their chosen ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Selenium WebDriver 3.0 - Second Edition

Mastering Selenium WebDriver 3.0 - Second Edition

Mark Collin
Selenium Essentials

Selenium Essentials

Prashanth Sams
Learn Selenium

Learn Selenium

Unmesh Gundecha, Carl Cocchiaro

Publisher Resources

ISBN: 9781788999762Supplemental Content