Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FirefoxProfileManager profileManager = new FirefoxProfileManager();
- FirefoxProfile profile = profileManager.GetProfile("HARDDISKUSER");
- profile.SetPreference("javascript.enabled", false);
- this.driver = new FirefoxDriver(profile);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement