# Enum webdriver.Capability

code »

Type: `string`

Common webdriver capability keys.

## Values and Descriptions

ACCEPT_SSL_CERTS
  Indicates whether a driver should accept all SSL certs by default. This capability only applies when requesting a new session. To query whether a driver can handle insecure SSL certs, see `webdriver.Capability.SECURE_SSL`.
BROWSER_NAME
  The browser name. Common browser names are defined in the `webdriver.Browser` enum.
HANDLES_ALERTS
  Whether the driver is capable of handling modal alerts (e.g. alert, confirm, prompt). To define how a driver should handle alerts, use `webdriver.Capability.UNEXPECTED_ALERT_BEHAVIOR`.
LOGGING_PREFS
  Key for the logging driver logging preferences.
PLATFORM
  Describes the platform the browser is running on. Will be one of ANDROID, IOS, LINUX, MAC, UNIX, or WINDOWS. When requesting a session, ANY may be used to indicate no platform preference (this is semantically equivalent to omitting the platform capability).
PROXY
  Describes the proxy configuration to use for a new WebDriver session.
ROTATABLE
  Whether the driver supports changing the brower's orientation.
SECURE_SSL
  Whether a driver is only capable of handling secure SSL certs. To request that a driver accept insecure SSL certs by default, use `webdriver.Capability.ACCEPT_SSL_CERTS`.
SUPPORTS_APPLICATION_CACHE
  Whether the driver supports manipulating the app cache.
SUPPORTS_BROWSER_CONNECTION
  Whether the driver supports controlling the browser's internet connectivity.
SUPPORTS_CSS_SELECTORS
  Whether the driver supports locating elements with CSS selectors.
SUPPORTS_JAVASCRIPT
  Whether the browser supports JavaScript.
SUPPORTS_LOCATION_CONTEXT
  Whether the driver supports controlling the browser's location info.
TAKES_SCREENSHOT
  Whether the driver supports taking screenshots.
UNEXPECTED_ALERT_BEHAVIOR
  Defines how the driver should handle unexpected alerts. The value should be one of "accept", "dismiss", or "ignore.
VERSION
  Defines the browser version.

Show:Public Protected Private