Skip to content

Node.js bindings for Marionette, a high-level API to control a WKWebView

Notifications You must be signed in to change notification settings

LinusU/marionettejs

Repository files navigation

MarionetteJS

Node.js bindings for Marionette, a high-level API to control a WKWebView.

Installation

npm install --save marionettejs

Usage

const Page = require('marionettejs')

const page = new Page()

// Go to google
await page.goto('https://www.google.com/')

// Type in "LinusU Marionette"
await page.type(`input[name='q']`, 'LinusU Marionette')

// Click the search button, and wait for navigation
await Promise.all([page.waitForNavigation(), page.click(`input[type='submit']`)])

About

Node.js bindings for Marionette, a high-level API to control a WKWebView

Resources

Stars

Watchers

Forks

Packages

No packages published