I wrote a simple selenium test to visit : https://helpx.adobe.com/flash-player.html and noticed that it does not enable flash player by default. The same test works fine and flash player is enabled in Chrome 61.
I’ve tried using the following solutions but none seems to work. I am using Java:
ChromeOptions options = new ChromeOptions(); options.setExperimentalOption("excludeSwitches", Arrays.asList("disable-component-update")); WebDriver driver= new ChromeDriver(options);
Tried using the flag:
None of them seem to work and flash player is always disabled no matter what flag I use.
Source link https://sqa.stackexchange.com/questions/30312/enable-flash-player-on-chrome-62-while-running-selenium-test