conndiag

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 conndiag provides tools and library calls to create and manage an instance of the Connectivity Diagnostics App.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Tconn *chrome.TestConn
	// contains filtered or unexported fields
}

App represents an instance of the Connectivity Diagnostics App.

func Launch

func Launch(ctx context.Context, cr *chrome.Chrome) (*App, error)

Launch launches the Connectivity Diagnostics app and returns the instance of it. An error is returned if the app fails to launch.

func (*App) ChromeConn

func (a *App) ChromeConn(ctx context.Context) (*chrome.Conn, error)

ChromeConn returns a Chrome connection to the Connectivity Diagnostics app if already launched.

Jump to

Keyboard shortcuts

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