Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( // Internet Explorer IE browser = "IE" // Microsoft Edge Edge browser = "Edge" // Google Chrome Chrome browser = "Chrome" // Firefox Firefox browser = "Firefox" )
Variables ¶
View Source
var ( // ErrHandleNotFound is occured when the newly opend browser handler is not found. ErrHandlerNotFound = errors.New("the window handler of newly opened kiosk browser is not found") )
Functions ¶
func EnumWindows ¶
func GetWindowTextW ¶
func SetForegroundWindow ¶
Types ¶
type Config ¶
type Config struct { // Browser is the browser name to open kiosk web applcation. // IE, Edge(Default), Chrome or Firefox are available. Browser browser // WaitCtx is the maximum time to wait for the URL to become available. WaitCtx context.Context }
Config is common configuration for browser and wait time
Click to show internal directories.
Click to hide internal directories.