• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

l50 / goutils / 7200564313
88%

Build:
DEFAULT BRANCH: main
Ran 13 Dec 2023 08:19PM UTC
Jobs 1
Files 18
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Dec 2023 08:15PM UTC coverage: 65.735% (+0.2%) from 65.559%
7200564313

push

github

web-flow
Added SaveCookiesToDisk function and tests in cdpu package. (#477)

**Added:**

- SaveCookiesToDisk function in chrome.go: New function to retrieve cookies from
  the current session and write them to a file, with parameters for site and
  file path.
- Test cases for SaveCookiesToDisk in chrome_test.go: Added a series of tests to
  ensure the proper functionality of SaveCookiesToDisk, including a successful
  scenario and an error case for file writing.

**Changed:**

- chrome.go: Included "encoding/json" package for JSON marshaling of cookies.
- chrome_test.go: Increased test coverage by validating cookie file creation and
  handling error scenarios in SaveCookiesToDisk function.

**Notes:**

- The tests navigate to Google and attempt to save cookies, verifying the file
  creation and error handling in different scenarios.
- The SaveCookiesToDisk function enhances the cdpu package by offering a
  convenient way to save browser cookies to a file.

22 of 28 new or added lines in 1 file covered. (78.57%)

1364 of 2075 relevant lines covered (65.73%)

13.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7200564313.1 13 Dec 2023 08:19PM UTC 0
65.73
GitHub Action Run
Source Files on build 7200564313
Detailed source file information is not available for this build.
  • Back to Repo
  • 9ab7f024 on github
  • Prev Build on main (#7154692989)
  • Next Build on main (#7214804702)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc