Commit Graph

12 Commits

Author SHA1 Message Date
Jonah Stiennon
ecc314e2df deviceName is required, unrecognized caps get logged to console. fixes #2765 2014-06-12 16:11:44 -07:00
Isaac Murchie
bce6c5c698 Add autoWebview capability 2014-06-12 14:34:36 -07:00
Ela Makiej
ec68a866a4 Support for CHROMIUM context for embedded Chromium.
Enables switching between NATIVE_APP and CHROMIUM contexts. Works for both backends: UIAutomator and Selendroid. It's intended to work for any Chromium
embedding app under the following conditions:
- user has to make sure the devtools socket is open
- user may need to provide a webdriver working with his app (probably deriving from chromedriver)
- user needs to use some additional capabilities: 'android-device-socket', 'chromedriver-executable' (optional), 'special-chromedriver-session-args' (optional)
2014-06-05 19:06:05 +02:00
sebv
cdafd82509 Improving logging 2014-06-04 09:07:58 +08:00
Jonathan Lipps
dea4186633 add --strict-caps mode
the server will error sessions which provide invalid caps
or don't provid valid ones
fix #2500
2014-05-30 16:54:27 -07:00
Jonathan Lipps
31c9000bd2 enable launchTimeout cap to be an obj as well 2014-05-02 15:56:17 -07:00
Jonathan Lipps
e23f58ba96 make sure we don't convert proxy cap into a string 2014-05-01 16:57:32 -07:00
Jonathan Lipps
e5e30a8cd4 get rid of old device and version caps 2014-04-10 15:01:11 -07:00
Sergio Neves Barros
8292b71387 Updated the app argument for the installApp, launchApp and closeApp to point to the device rather than appium. Also added a check for the "installToRealDevice" function to check if "launch" desired capability has not been set to false (as in that instance we want to manage installation and launching ourselves).
Changed the launch parameter to autoLaunch (including a check for launch desired capability and deprecation warning).
2014-04-10 10:00:01 -07:00
Dylan Lacey
148336fc04 Use the new capabilities throughout the codebase.
Every entry in `Capabilities.capabilityConversions` is now used to
convert capabilities into the args array.

Change version to versionVersion.
Change device to platformName
Stop aliasing platformVersion to version in Capabilities.js
2014-04-01 16:42:28 -07:00
Jonathan Lipps
fd24d65ffe make sure caps are sanitized (fix #2103) 2014-03-20 16:58:03 -07:00
Dylan Lacey
21c8feb8e5 Add new device and automation capabilities, deprecate old caps
Added deprecation warning for older style caps.  Warnings are output
once only for a given function or capability.  A final trailing log
message is released saying there were deprecations.

Busted unit tests into smaller tests

Capabilities are now an object, created by passing the capabilities
to Capabilities.  Properties on that object are copied into the Capabilities object so the API is identical.

Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00