Versions in this module Expand all Collapse all v0 v0.0.1 Aug 24, 2023 Changes in this version + const CapabilitiesKey + const DeprecatedCapabilitiesKey + func NewExtension(basePath string) ([]byte, *rsa.PrivateKey, error) + func NewExtensionWithKey(basePath string, key *rsa.PrivateKey) ([]byte, error) + type Capabilities struct + AndroidPackage string + Args []string + DebuggerAddr string + Detach *bool + ExcludeSwitches []string + Extensions []string + LocalState map[string]interface{} + MinidumpPath string + MobileEmulation *MobileEmulation + Path string + PerfLoggingPrefs *PerfLoggingPreferences + Prefs map[string]interface{} + W3C bool + WindowTypes []string + func (c *Capabilities) AddExtension(path string) error + func (c *Capabilities) AddUnpackedExtension(basePath string) error + type DeviceMetrics struct + Height uint + PixelRatio float64 + Touch *bool + Width uint + type MobileEmulation struct + DeviceMetrics *DeviceMetrics + DeviceName string + UserAgent string + type PerfLoggingPreferences struct + BufferUsageReportingIntervalMillis uint + EnableNetwork *bool + EnablePage *bool + EnableTimeline *bool + TraceCategories string