chromeproc

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: 7 Imported by: 0

Documentation

Overview

Package chromeproc provides utilities to find Chrome processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBrokerProcesses

func GetBrokerProcesses() ([]*process.Process, error)

GetBrokerProcesses returns Chrome broker processes.

func GetGPUProcesses

func GetGPUProcesses() ([]*process.Process, error)

GetGPUProcesses returns Chrome gpu-process processes.

func GetPluginProcesses

func GetPluginProcesses() ([]*process.Process, error)

GetPluginProcesses returns Chrome plugin processes.

func GetRendererProcesses

func GetRendererProcesses() ([]*process.Process, error)

GetRendererProcesses returns Chrome renderer processes.

func GetRootPID

func GetRootPID() (int, error)

GetRootPID returns the PID of the root Chrome process. This corresponds to the browser process.

func Version

func Version(ctx context.Context) ([]string, error)

Version returns the Chrome browser version. E.g. Chrome version W.X.Y.Z will be reported as a list of strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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