Skip to main content

Selenium Default Capabilities

KeyValuesCapability Description
javascriptEnabledtrue, falseBased on the user provided input, this capability helps to enable the support for JavaScript execution.
databaseEnabledtrue, falseDecides if a session could communicate with the database.
locationContextEnabledtrue, falseDecides if a session can use the features with respect to different geographic locations.
applicationCacheEnabledtrue, falseDecides if a session is able to utilize the application cache.
browserConnectionEnabledtrue, falseDetermines the browser connectivity with respect to the query involved in the session. Also checks whether the session can be disabled if required by the end user.
webStorageEnabledtrue, falseDecides if a session is able to connect with storage objects.
acceptSslCertstrue, falseDecides if a session by default should accept all SSL certificates.
unexpectedAlertBehaviouraccept, dismiss, ignoreDetermines the action of a browser for handling alerts, prior to pointing the UnhandledAlertException.
elementScrollBehaviorintegerDetermines the scrolling behavior according to the user provided input. The user can decide if the elements should be aligned 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)
enableCrossSiteBlockingtrue, falsePrevents cross-site tracking.

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

Book Demo

Help and Support

Related Articles