In my selenium+python automation, I have to install an extension before I actually start website automation. But, In my corporate network, I can upload the extensions to Chrome browser only when I unpacked the .crx file. This is my company policy. When I run the automation script, every time a fresh browser instance launches and 'Developer Mode' in extensions screen is disabled. I need to enable the developer mode from code. I have tried with below arguments in Chrome options but none of them worked.
options = webdriver.ChromeOptions()
options.add_argument("--force-dev-mode-highlighting")
options.add_argument("--system-developer-mode")
Any help to make it work will be highly appreciated.