Set profile in firefox | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos
10% July Month Discount Avail now

Selenium Training Forum

Set profile in firefox

A
Anisha Handoo Post on 18/06/2019

This code is not working , also it says ProfilesIni is deprecated 

 

ProfilesIni allProf = new ProfilesIni();
FirefoxProfile prof = allProf.getProfile("Anisha");
options.setProfile(prof);

S

Instructor

Support Team Reply on 20/06/2019

Use the below import

import org.openqa.selenium.firefox.ProfilesIni;