diff --git a/CHANGELOG.md b/CHANGELOG.md index c80557a..9dd7447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog (2021) +- 2.2.4 (November 27th) Upgrade protocol.json to 96.0.4664.45 - 2.2.3 (August 23rd) Applied patch from @camswords to allow using custom output writer for chrome process to aid in debugging. - 2.2.2 (August 19th) Applied patch from @camswords to fix the cannot connect to debugger message to print seconds out properly. - 2.2.1 (July 28th) SendDefaultRequests were not returning ChromeErrorResponses diff --git a/v2/chrome_target.go b/v2/chrome_target.go index 4cf230d..77a43d8 100644 --- a/v2/chrome_target.go +++ b/v2/chrome_target.go @@ -1,7 +1,7 @@ /* The MIT License (MIT) -Copyright (c) 2020 isaac dawson +Copyright (c) 2021 isaac dawson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -118,6 +118,7 @@ type ChromeTarget struct { Media *gcdapi.Media WebAudio *gcdapi.WebAudio WebAuthn *gcdapi.WebAuthn + EventBreakpoints *gcdapi.EventBreakpoints Target *TargetInfo // The target information see, TargetInfo sendCh chan *gcdmessage.Message // The channel used for API components to send back to use @@ -207,6 +208,7 @@ func (c *ChromeTarget) Init() { c.WebAudio = gcdapi.NewWebAudio(c) c.WebAuthn = gcdapi.NewWebAuthn(c) c.BackgroundService = gcdapi.NewBackgroundService(c) + c.EventBreakpoints = gcdapi.NewEventBreakpoints(c) } // clean up this target diff --git a/v2/gcd.go b/v2/gcd.go index 336bd6f..3c22edc 100644 --- a/v2/gcd.go +++ b/v2/gcd.go @@ -45,7 +45,7 @@ import ( var json = jsoniter.ConfigCompatibleWithStandardLibrary -var GCDVERSION = "v2.2.3" +var GCDVERSION = "v2.2.4" var ( ErrNoTabAvailable = errors.New("no available tab found") diff --git a/v2/gcdapi/accessibility.go b/v2/gcdapi/accessibility.go index f7b2289..32475e7 100644 --- a/v2/gcdapi/accessibility.go +++ b/v2/gcdapi/accessibility.go @@ -16,7 +16,7 @@ type AccessibilityAXValueSource struct { Attribute string `json:"attribute,omitempty"` // The name of the relevant attribute, if any. AttributeValue *AccessibilityAXValue `json:"attributeValue,omitempty"` // The value of the relevant attribute, if any. Superseded bool `json:"superseded,omitempty"` // Whether this source is superseded by a higher priority source. - NativeSource string `json:"nativeSource,omitempty"` // The native markup source for this value, e.g. a