Skip to main content

Selenium Default Capabilities

Default Capabilities Reference


These are the built-in capabilities that Selenium supports for browser session configuration.

KeyValuesCapability Description
javascriptEnabledtrue, falseEnables or disables JavaScript execution support based on the provided input.
databaseEnabledtrue, falseDetermines whether a session can communicate with the database.
locationContextEnabledtrue, falseDetermines whether a session can use features related to different geographic locations.
applicationCacheEnabledtrue, falseDetermines whether a session can use the application cache.
browserConnectionEnabledtrue, falseDetermines the browser connectivity for the query involved in the session. Also checks whether the end user can disable the session if required.
webStorageEnabledtrue, falseDetermines whether a session can connect with storage objects.
acceptSslCertstrue, falseDetermines whether a session should accept all SSL certificates by default.
unexpectedAlertBehaviouraccept, dismiss, ignoreDetermines the browser action for handling alerts before pointing the UnhandledAlertException.
elementScrollBehaviorintegerDetermines the scrolling behavior based on the provided input. You can align elements to top(0) or bottom(1) with respect to the elements scroll-ability inside the viewport. By default the value is set to 1, aligning the scroll behavior to top. This is compatible with IE and Firefox (since 2.36).
preventCrossSiteTrackingtrue, falseBlocks or unblocks cross-site tracking.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles