I was able to workaround this issue by turning on mobile emulation on ChromeDriver. ![]() Method proposed by alecxe in accepted answer unfortunately doesn't work for me. Is there a way to disable all flash plugins without disabling all plugins in Chrome?įor instance, would be perfect to have a preference to list all of the plugins that needs to be turned off: plugins.disabled: Ĭhrome://plugins doesn't exist anymore in Chrome 57 and above. Pass the -disable-plugins argument to the capability. To disable Flash in Chrome, create a chromeOptions capability, and disable-bundled-ppapi-flash - Disables the bundled PPAPI version of Flash.īut, this would turn off only the pepperflash internal chrome plugin.Īccording to the How to run Chrome/Firefox with disabled flash plugin from watir script? thread, there is also -disable-internal-flash switch, but it is also relevant to the chrome's internal flash plugin.īrowserstack's documentation suggests to follow the principle "the guillotine is the best dandruff cure" and to disable all plugins by using -disable-plugins switch: I need to test one of the corner cases when there is no flash plugin available/installed in the browser: neither the internal (pepperflash), nor the system-wide adobe flash player plugin.Īccording to the List of Chromium Command Line Switches documentation page, there is a relevant command-line switch: ![]() One of our internal applications has a flash object on a page.
0 Comments
Leave a Reply. |