I noticed that starting , chrome disables by default.

I wrote a simple to visit : https://helpx.adobe.com/flash-player.html and noticed that it does not flash player by default. The same test works fine and flash player is enabled in Chrome 61.

Also, another noticeable difference is that I am using chromedriver v2.32 when tests on Chrome 61 and chromedriver v2.33 when tests on Chrome 62.

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:

--disable-bundled-ppapi-flash

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here