flutter_marionette 0.1.0 flutter_marionette: ^0.1.0 copied to clipboard
A new flutter plugin project.
Marionette for Flutter #
Marionette is a library which provides a high-level API to control a WebView.
The goal is to have the API closely mirror that of Puppeteer.
Other platforms: Swift (macOS/iOS), JavaScript (Node)
Usage #
import 'package:flutter_marionette/marionette.dart';
() async {
final page = Marionette();
await page.goto("https://www.google.com/");
await page.type("input[name='q']", "LinusU Marionette")
await Future.wait([page.waitForNavigation(), page.click("input[type='submit']")]);
page.dispose();
}