The Command Line of Chrome/Chromium can be checked here: chrome://version to see if the flags are added at the launch. if you want to set enable-nacl and network-service: -enable-features=EnableNacl,NetworkServiceĮxperimental features can be checked here: chrome://flags if they are indeed enabled. ![]() I.) Normally you should be able to set any experimental features among the args if you are able to position them between the -flag-switches-begin and -flag-switches-end flags and you give them in the following format: Pascal case option names, separated by a single comma without a space.Į.g. Is it possible to pass Chrome experimental options to puppeteer? I need to port the same application to node/ puppeteer but I am not sure how to pass the experimental options to puppeteer/chromium: const puppeteer = require('puppeteer') Ĭonst browser = await puppeteer.launch(options) 'fault_directory': '/dev/null',ĭriver = webdriver.Chrome(options=chrome_options) ![]() I have an application written in python/ selenium which set some experimental options on the chrome driver: from selenium import webdriverįrom import OptionsĬhrome_options.add_argument('-disable-gpu')Ĭhrome_options.add_argument('-no-sandbox')Ĭhrome_options.add_argument('-disable-dev-shm-usage')Ĭhrome_options.add_argument('-disable-browser-side-navigation')Ĭhrome_options.add_argument('-mute-audio')Ĭhrome_options.add_argument('-headless')
0 Comments
Leave a Reply. |