I need to disable CSP for that I can do that manually by opening Firefox() web driver, going to about:config, and disabling: security.CSP.enable
.
I am new to selenium, have coded all the stuff I need to just I need to automate disabling of CSP, I don't know much about marionette, capabilities, and other details. I just want to automate the disabling of CSP. Is it possible? Is it possible by doing some capabilities changes or by doing: driver.get('about:config'); some code
or by adding another extension? There may be other solutions like downloading geckodriver with no CSP, which I cant find, or maybe even compiling geckodriver with no CSP if its open source.
I cant use chromium for some reason, so I need to work with geckodriver in Linux.