Skip to content
/ manual Public

Provider for manually opened browser

License

Notifications You must be signed in to change notification settings

airtap/manual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airtap-manual

Browser provider for manually opened browser. Prints a URL to open by hand.

npm status node Travis build status JavaScript Style Guide

Table of Contents

Usage

Programmatic

const Manual = require('airtap-manual')
const provider = new Manual()

// Get a list of desired browsers (there's just 1 here)
const wanted = [{ name: 'manual' }]
const manifests = await provider.manifests(wanted)

// Instantiate a browser
const target = { url: 'http://localhost:3000' }
const browser = provider.browser(manifests[0], target)

await browser.open()

With Airtap

providers:
  - airtap-manual

browsers:
  - name: manual

API

Manual()

Constructor. Returns an instance of browser-provider.

Install

With npm do:

npm install airtap-manual

License

MIT © 2020-present Airtap contributors