Add cdp support for xpath scrapers (#625)

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
bnkai
2020-08-04 03:42:40 +03:00
committed by GitHub
parent 1b4a9eed36
commit 4373f9bf01
284 changed files with 133250 additions and 54 deletions

19
vendor/github.com/chromedp/cdproto/security/events.go generated vendored Normal file
View File

@@ -0,0 +1,19 @@
package security
// Code generated by cdproto-gen. DO NOT EDIT.
// EventVisibleSecurityStateChanged the security state of the page changed.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Security#event-visibleSecurityStateChanged
type EventVisibleSecurityStateChanged struct {
VisibleSecurityState *VisibleSecurityState `json:"visibleSecurityState"` // Security state information about the page.
}
// EventSecurityStateChanged the security state of the page changed.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Security#event-securityStateChanged
type EventSecurityStateChanged struct {
SecurityState State `json:"securityState"` // Security state.
Explanations []*StateExplanation `json:"explanations"` // List of explanations for the security state. If the overall security state is insecure or warning, at least one corresponding explanation should be included.
Summary string `json:"summary,omitempty"` // Overrides user-visible description of the state.
}