Files
appium/packages/relaxed-caps-plugin

@appium/relaxed-caps-plugin

Appium plugin for handling extension capabilities with no prefix

NPM version Downloads

Appium conforms to the W3C WebDriver Protocol requirements for capabilities, which means that all non-standard (extension) capabilities used with Appium must have a prefix (usually this prefix is appium:). Any non-standard capabilities without a prefix are rejected.

This plugin can be used to automatically add the appium: prefix to non-standard capabilities that do not have a prefix.

Motivation

There are a lot of test scripts out there that don't conform to the W3C capability requirements, so this plugin is designed to make it easy to keep running these scripts even with the stricter capability requirements in Appium 2.

Installation

appium plugin install relaxed-caps

The plugin must be explicitly activated when launching the Appium server:

appium --use-plugins=relaxed-caps

License

Apache-2.0