Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Disable Flash

Learn how to disable Flash for your Selenium tests on BrowserStack Automate.

You can disable Flash for various browsers including Chrome, IE and Firefox. This guide provides code samples and solutions to disable Flash when testing your application.

If you are using BrowserStack SDK, you can set the following capabilities in the configuration file:

Disable Flash in Chrome

To disable Flash in Chrome, pass the --disable-plugins argument under the chromeOptions capability.

Using this argument will turn off all the plugins in the browser.

Use the following sample code snippets to disable Flash in Chrome.

browserstack.yml
Copy icon Copy

Disable Flash in IE

To disable Flash in IE, pass the browserstack.ie.noFlash capability in your tests.
Use the following sample code snippets to disable Flash in IE.

browserstack.yml
Copy icon Copy

Disable Flash in Firefox

To disable Flash in Firefox, use the legacy integration method.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle