Sign In Solutions interview question

How do we disable JavaScript in browser using code in Selenium?