oxygenhq / oxygen-ide

Oxygen IDE
GNU General Public License v3.0
15 stars 6 forks source link

custom Browser list and capabilities #257

Open wokier opened 3 years ago

wokier commented 3 years ago

I would like to customize the list of browsers. I notice it is possible to switch between "Web mode", "Mobile mode" and "Responsive mode" But i need specific capabilities: acceptSslCerts and acceptInsecureCerts

I have not found any configuration file for that.

It also tried with a code approach A/ Using init method web.init({browserName:'firefox',acceptSslCerts:true,acceptInsecureCerts:true}); (by the way, the documentation of thecaps parameter gives 'string' but it is an object https://github.com/oxygenhq/oxygen/blob/dff2a342a625ec1904a28de8da1b109f262ebe76/src/ox_modules/module-web.js#L109 )

B/ Hacking the caps variable web.caps = web.caps || {}; web.caps.acceptSslCerts=true; web.caps.acceptInsecureCerts=true;

But in both cases those parameter does not seems to be used. It seems it is overriden by the Oxygen IDE.

Screenshot 2021-06-10 at 16 20 29