You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

apigeek-dialect-webapp

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apigeek-dialect-webapp

A BDD Dialect for browser-based web apps and sites

1.8.9
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Dialect For Web Apps

A scenario describes a user story - essentially it's a list of instructions and expectations.

The framework interprets each step in the scenario using the Gherkin Vocabulary.

To test using a particular web browser, you'll need to install the appropriate driver:

BrowserComponent
Chromechromedriver(.exe)
Internet ExplorerIEDriverServer.exe
EdgeMicrosoftWebDriver.msi
Firefox 47+geckodriver(.exe)
PhantomJSphantomjs(.exe)
Operaoperadriver(.exe)
SafariSafariDriver.safariextz

Let's start with an example:

@dialect=webapp
@target=google
Scenario: Test Google using Firefox

  Given I use firefox browser
  When I visit /
  When I type apigeek into q
  When I click btnG
  When I wait until page is apigeek - Google Search
  Then I stop using browser
  Then dump

FAQs

Package last updated on 18 Nov 2016

Did you know?

Socket

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