testium-cookie
Logic for encoding and decoding meta data when interacting with the testium proxy
Last updated 22 days ago by groupon .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install testium-cookie 
SYNC missed versions from official npm registry.

testium-cookie Build Status

WebDriver does not return status codes or response headers. This module stores those in a special cookie that can be read from normal WebDriver methods.

This project is a safe and inclusive place for contributors of all kinds. See the Code of Conduct for details.

modifyResponse(res)

Modifies an existing node http response to inject the _testium_ cookie.

getTestiumCookie(cookies)

Takes either a cookie dictionary or a list of cookie objects and extracts the _testium_ meta data. It returns an object with a headers and a statusCode property.

Current Tags

  • 2.0.1                                ...           latest (22 days ago)

4 Versions

  • 2.0.1                                ...           22 days ago
  • 2.0.0                                ...           4 months ago
  • 1.0.2                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 20
Dependencies (1)
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |