 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewChromeProgram(params *ChromeParams) *executor.ConsoleProgram
- type ChromeExec
- func (instance *ChromeExec) GetDir() string
- func (instance *ChromeExec) Open(url string) error
- func (instance *ChromeExec) OpenApp(url string) error
- func (instance *ChromeExec) OpenBrowser(url string) error
- func (instance *ChromeExec) Params() *ChromeParams
- func (instance *ChromeExec) Pid() int
- func (instance *ChromeExec) SetDir(dir string)
- func (instance *ChromeExec) TryKill() error
 
- type ChromeParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChromeProgram ¶
func NewChromeProgram(params *ChromeParams) *executor.ConsoleProgram
Types ¶
type ChromeExec ¶
type ChromeExec struct {
	// contains filtered or unexported fields
}
    func NewChromeExec ¶
func NewChromeExec() *ChromeExec
func (*ChromeExec) GetDir ¶
func (instance *ChromeExec) GetDir() string
func (*ChromeExec) Open ¶
func (instance *ChromeExec) Open(url string) error
func (*ChromeExec) OpenApp ¶
func (instance *ChromeExec) OpenApp(url string) error
func (*ChromeExec) OpenBrowser ¶
func (instance *ChromeExec) OpenBrowser(url string) error
func (*ChromeExec) Params ¶
func (instance *ChromeExec) Params() *ChromeParams
func (*ChromeExec) Pid ¶
func (instance *ChromeExec) Pid() int
func (*ChromeExec) SetDir ¶
func (instance *ChromeExec) SetDir(dir string)
func (*ChromeExec) TryKill ¶
func (instance *ChromeExec) TryKill() error
type ChromeParams ¶
type ChromeParams struct {
	Url         string
	AppMode     bool
	WindowSize  string // fmt.Sprintf("%d,%d", width, height)
	DisableGPU  bool
	UserAgent   string
	ProxyServer string
}
    https://peter.sh/experiments/chromium-command-line-switches/
 Click to show internal directories. 
   Click to hide internal directories.