webstore

package
v0.0.0-...-9474aff Latest Latest
Warning

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

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

Documentation

Overview

Package webstore provides the control of installing and uninstalling chrome webstore apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpgradeWebstoreApp

func UpgradeWebstoreApp(ctx context.Context, cr *chrome.Chrome, tconn *chrome.TestConn, app App) error

UpgradeWebstoreApp install/uninstall the specified Chrome app from the Chrome Web Store.

Types

type App

type App struct {
	Name          string // Name of the Chrome app.
	URL           string // URL to install the app from.
	VerifyText    string // Button text after the app is installed/uninstalled.
	AddRemoveText string // Button text when the app is available to be added.
	ConfirmText   string // Button text to confirm the installation.
}

App contains info about a Chrome Web Store app. All fields are required.

Jump to

Keyboard shortcuts

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