@appium/relaxed-caps-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Appium Relaxed Caps Plugin

With the advent of Appium 2.0, the Appium server begins to require that all capabilities conform to the W3C requirements for capabilities. Among these requirements is one that restricts capabilities to those found in a predetermined set. Appium supports many additional capabilities as extension capabilities, and these must be accessed with the prefix appium: in front of the capability name.

There are a lot of test scripts out there that don't conform to the requirement, and so this plugin is designed to make it easy to keep running these scripts even with the new stricter capabilities requirements beginning with Appium 2.0. Basically, it inserts the appium: prefix for you!

Installation - Server

Install the plugin using Appium's plugin CLI, either as a named plugin or via NPM:

appium plugin install relaxed-caps
appium plugin install --source=npm @appium/relaxed-caps-plugin

Installation - Client

No special action is needed to make things work on the client side. Just keep sending in your unprefixed caps!

Activation

The plugin will not be active unless turned on when invoking the Appium server:

appium --use-plugins=relaxed-caps

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @appium/relaxed-caps-plugin

    Homepage

    appium.io

    Weekly Downloads

    1,830

    Version

    1.0.6

    License

    Apache-2.0

    Unpacked Size

    25.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • jlipps
    • nick.mokhnach
    • kazucocoa
    • boneskull