browsolate

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

browsolate

A badly-named tool for opening multiple isolated instances of Chrome. ALL AT THE SAME TIME.

How do?

Use it from your shell

browsolate https://google.com

Or from your go

package main

import (
	"fmt"
	"github.com/patricksanders/browsolate"
)

func main() {
	opts := &browsolate.InstanceOpts{ChromePath: "/usr/bin/chrome"}
	err := browsolate.StartIsolatedChromeInstance("https://google.com", opts)
	if err != nil {
		fmt.Print(err)
	}
}

(but you probably shouldn't because I just threw it together)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartIsolatedChromeInstance

func StartIsolatedChromeInstance(url string, opts *InstanceOpts) error

Types

type InstanceOpts

type InstanceOpts struct {
	ChromePath    string
	TempDirBase   string
	TempDirPrefix string
}

Directories

Path Synopsis
cmd
browsolate command

Jump to

Keyboard shortcuts

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