cursive

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package cursive contains common functions used in the Cursive app.

Index

Constants

View Source
const AppURL = "https://cursive.apps.chrome/"

AppURL is the url of Cursive PWA.

Variables

This section is empty.

Functions

func UIConn

func UIConn(ctx context.Context, cr *chrome.Chrome) (*chrome.Conn, error)

UIConn returns a connection to the Cursive app HTML page, where JavaScript can be executed to simulate interactions with the UI. The caller should close the returned connection. e.g. defer uiConn.Close().

func WaitForAppRendered

func WaitForAppRendered(tconn *chrome.TestConn) uiauto.Action

WaitForAppRendered waits until the app is rendered by checking page heading.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL