How to create Firefox profile for your Selenium?
To create your FF profile: at first you should create a folder, where your profile will be created. Create this folder somewhere on your computer. For example folder with name “FFAutomation”. After that close all FF instances, open cmd and execute “start firefox.exe -ProfileManager”. Uncheck “Dont ask at startup”, click Create new profile, select a folder that you’ve created, enter the name of the Profile (FFAutomation) and then start firefox using this profile. Set up your profile as follows:
- Click “Tools\Options” then set the following:
- a. “Main” tab
- - set Home Page to “about:blank”
- - uncheck “Show the Downloads..” option
- b. “Tabs” tab
- - Select “a new window” for new pages (in other words, uncheck “Open new windows in a new tab instead”)
- - Uncheck all warning options
- c. “Content” tab
- - uncheck “Block pop-up” windows option
- d. “Privacy” tab
- - leave it as “Remember history”
- e. “Security” tab
- - uncheck all “Security” options
- - click “Settings” and uncheck all warning options
- f. “Advanced” tab
- - Uncheck “autoscrolling” option from “General” tab
- - Uncheck “use hardware accelleration..” option
- - uncheck “warn me …” and “Search Engines”option from “Update” tab
- Browse to the desired BPM instance. Add an exception for the invalid certificate, and make sure “Permanently store this exception” is checked.
- - In the “Update” tab uncheck all automatic update options
After your Profile is set up, close Firefox, then open again, select your Profile
Комментариев нет:
Отправить комментарий