Using Selenium and python, I can do this with Chrome webdriver:
options.add_experimental_option(\"excludeSwitches\", [\"enable-automation\"])
driver = webdriver.
you may try:
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile
from selenium.webdriver import DesiredCapabilities
from selenium.webdriver import Firefox
profile = FirefoxProfile()
profile.set_preference('devtools.jsonview.enabled', False)
profile.update_preferences()
desired = DesiredCapabilities.FIREFOX
driver = Firefox(firefox_profile=profile, desired_capabilities=desired)