This code is not working , also it says ProfilesIni is deprecated
ProfilesIni allProf = new ProfilesIni();
FirefoxProfile prof = allProf.getProfile("Anisha");
options.setProfile(prof);
Instructor
Ashish Thakur Replied on 20/06/2019
Use the below import
import org.openqa.selenium.firefox.ProfilesIni;