Socket
Socket
Sign inDemoInstall

sei-improved

Package Overview
Dependencies
122
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sei-improved

Wrapper around se-interpreter that allows you to override configuration options and some parts of the test scripts


Version published
Maintainers
1
Created

Readme

Source

A Wrapper Around se-interpreter

npm install -g sei-improved

The configuration file for this is almost exactly the same as for se-interpreter. In fact, it will run se-interpreter configs with un-modified.

However things get interesting when you get to the "overrides" section.

Anotated Example config:

{
  "type": "interpreter-config",
  "configurations": [
    {
      "settings": [
        {
          "driverOptions": {
            "protocol": "http",
            "host": "hub.browserstack.com",
            "port": "80",
            "path": "/wd/hub"
          },
          "browserOptions":  {
            "browserstack.user": "",
            "browserstack.key": "",
            "browserstack.debug": true,
            "browserstack.tunnel": true
          }
        }
      ],
      "scripts": [
        {
          "overrides": [
            {
              "type": "get", /* This is the type of step in the selenium builder test */
              "key": "url", /* This is what to override in the step */
              /* if the value matches "from", replace with "to" */
              "from": "http://staging.example.com/test/",
              "to": "http://dev.example.com/seleniumtests/"
            },
            {
              "type": "get",
              "key": "url",
              "from": "http://staging.example.com/test/alt.html",
              "to": "http://dev.example.com/seleniumtests/alt.html"
            }
          ],
          "scripts": [
            "Test_Set_1/*",
            "Test_Set_2/*"
          ]
        }
      ]
    }
  ]
}

Keywords

FAQs

Last updated on 21 Feb 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc