I currently have my Selenium Firefox set up as so:
options = Options()
options.headless = True #hides browser
driver = webdriver.Firefox(options=options,executable_path=r'geckodriver.exe')
Which would make Firefox headless. However, I need it to display the browser window so that I can do some actions myself, and then switch it back to headless mode. Is there a way to do this, either through Firefox or Selenium, without restarting the driver?