Skip to content

Commit

Permalink
Merge pull request #71 from vortex14/proxy-service-new-features
Browse files Browse the repository at this point in the history
ignore ssl for rod
  • Loading branch information
vortex14 authored Feb 25, 2023
2 parents bc62054 + 2d56fbf commit 04227fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions extensions/pipelines/http/emulator/rod/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ func CreateBaseBrowser(options Options) *rod.Browser {

browser := rod.New().ControlURL(CreateLauncher(options).MustLaunch())

browser.MustIgnoreCertErrors(true)

if options.Debug {
browser.Trace(true)
browser.SlowMotion(1 * time.Second)
Expand Down
2 changes: 2 additions & 0 deletions extensions/pipelines/http/emulator/rod/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ func CreateRodRequestPipeline(

browser = browser.MustConnect()

browser.MustIgnoreCertErrors(true)

page := browser.MustPage(task.GetFetcherUrl())

processElementsAfterPreLoad(logger, page, detailOptions)
Expand Down

0 comments on commit 04227fa

Please sign in to comment.