testium-cookie

2.0.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    22
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    22
  • 2.0.1
    1
  • 2.0.0
    0
  • 1.0.2
    22
  • 1.0.0
    0

Package Sidebar

Install

npm i testium-cookie

Weekly Downloads

12

Version

2.0.2

License

BSD-3-Clause

Unpacked Size

10 kB

Total Files

5

Last publish

Collaborators

  • endangeredmassa
  • jkrems
  • groupon