Browser provider for manually opened browser. Prints a URL to open by hand.
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
Constructor. Returns an instance of browser-provider
.
With npm do:
npm install airtap-manual
MIT © 2020-present Airtap contributors