{"id":22423380,"url":"https://github.com/prantlf/grunt-safaridriver","last_synced_at":"2026-07-11T21:31:10.020Z","repository":{"id":57255651,"uuid":"286425372","full_name":"prantlf/grunt-safaridriver","owner":"prantlf","description":"Controls Safari on OSX using the WebDriver interface via safaridriver without Selenium.","archived":false,"fork":false,"pushed_at":"2023-05-05T20:20:16.000Z","size":202,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T22:49:13.826Z","etag":null,"topics":["browser","grunt-task","gruntplugin","safari","safaridriver","testing","webdriver"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-10T08:57:58.000Z","updated_at":"2023-01-31T09:40:25.000Z","dependencies_parsed_at":"2024-12-05T18:20:57.992Z","dependency_job_id":null,"html_url":"https://github.com/prantlf/grunt-safaridriver","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"f36d5d73049957dcdf0ae31bf9c96678ed1522e4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/prantlf/grunt-safaridriver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-safaridriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-safaridriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-safaridriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-safaridriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/grunt-safaridriver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fgrunt-safaridriver/sbom","scorecard":{"id":743723,"data":{"date":"2025-08-11","repo":{"name":"github.com/prantlf/grunt-safaridriver","commit":"1ee1aeaabbe7e021627907288b443f5d9438debc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T18:11:02.837Z","repository_id":57255651,"created_at":"2025-08-22T18:11:02.837Z","updated_at":"2025-08-22T18:11:02.837Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35376133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","grunt-task","gruntplugin","safari","safaridriver","testing","webdriver"],"created_at":"2024-12-05T18:10:51.170Z","updated_at":"2026-07-11T21:31:10.005Z","avatar_url":"https://github.com/prantlf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-safaridriver\n\n[![Latest version](https://img.shields.io/npm/v/grunt-safaridriver)\n ![Dependency status](https://img.shields.io/librariesio/release/npm/grunt-safaridriver)\n](https://www.npmjs.com/package/grunt-safaridriver)\n[![Coverage](https://codecov.io/gh/prantlf/grunt-safaridriver/branch/master/graph/badge.svg)](https://codecov.io/gh/prantlf/grunt-safaridriver)\n[![codebeat badge](https://codebeat.co/badges/1777e780-ea70-4ebd-8f5a-df278c5761d6)](https://codebeat.co/projects/github-com-prantlf-grunt-safaridriver-master)\n\nControls Safari on OSX using the WebDriver interface via safaridriver without Selenium.\n\nIf you use a modern test driver like [webdriverio], you will not need [Selenium] to run the tests, because the browser driver itself implements the [WebDriver] interface. This module provides a [Grunt] multi-task for installing, starting and stopping the [safaridriver] executable. You take care of maintaining the reasonably recent vewsion of OSX and Safari. Starting with Safari 10 on OS X El Capitan and macOS Sierra, Safari comes bundled with a new driver implementation that's maintained by the Web Developer Experience team at Apple. You might need to run `safaridriver --enable` to enable this feature.\n\nThis task, [grunt-chromedriver] and [grunt-geckodriver] can be used as a replacement for [grunt-selenium-standalone] for tasks like [grunt-html-dom-snapshot], to simplify the whole scenario by removing [Selenium] and [Java] from the requirements.\n\n## Installation\n\nYou need [node \u003e= 10][node], [npm] and [grunt \u003e= 1.0.0][Grunt] installed and\nyour project build managed by a [Gruntfile]. If you have not used Grunt before,\nbe sure to check out the [Getting Started] guide, as it explains how to create\na Gruntfile as well as install and use Grunt plugins.  Once you are familiar\nwith that process, you may install this plugin with this command:\n\n    npm install grunt-safaridriver --save-dev\n\n## Configuration\n\nAdd the `safaridriver` entry with one or more tasks to the options of the\n`grunt.initConfig` method in `Gruntfile.js`:\n\n```js\ngrunt.initConfig({\n  safaridriver: {\n    default: {}\n  }\n});\n```\n\nLoad the plugin:\n\n```javascript\ngrunt.loadNpmTasks('grunt-safaridriver');\n```\n\nAdd use the task to start and stop the browser driver before and after the tests:\n\n```js\ngrunt.registerTask('default', ['safaridriver:default:start', ..., 'safaridriver:default:stop']);\n```\n\n### Options\n\nDefault task options support the most usual usage scenario:\n\n```js\nsafaridriver: {\n  default: {\n    port: 4444,\n    findAvailablePort: false,\n    args: [],\n    force: false\n  }\n}\n```\n\n#### port\nType: `Number`\nDefault value: `4444`\n\nThe port for the `safaridriver` to listen to. If `findAvailablePort` is set to\n`true`, this port will be used to start the search for a free port with.\n\n### findAvailablePort\nType: `Boolean`\nDefault value: `false`\n\nIf set to `true`, the value of `port` will be used to start the search for a\nfree port with.\n\n### args\nType: `Array\u003cString\u003e`\nDefault value: `[]`\n\nCommand-line arguments for the `safaridriver` executable. Available ones:\n\n    -p, --port  Port number the driver should use. If the server\n                is already running, the port cannot be changed.\n                If port 0 is specified, a default port will be used.\n    --enable    Applies configuration changes so that subsequent WebDriver\n                sessions will run without further authentication.\n    --diagnose  Causes safaridriver to log diagnostic information for\n                all sessions hosted by this instance. See the safaridriver(1)\n                man page for more details about diagnostic logging.\n\n### force\nType: `Boolean`\nDefault value: `false`\n\nIf set to `true`, it suppresses failures. Instead of making the Grunt fail,\nthe errors will be written only to the console.\n\n### Events\n\nIf `findAvailablePort` is set to `true`, the actual chosen port can be read by:\n\n```js\ngrunt.config.get(`safaridriver.\u003ctask-name\u003e.port`)\n```\n\nAs soon es the browser driver process starts listening, an event will be\ntriggered with the actually chosen port:\n\n```js\ngrunt.event.on(`safaridriver.\u003ctask-name\u003e.listening`, port =\u003e {...})\n```\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding\nstyle.  Add unit tests for any new or changed functionality. Lint and test\nyour code using Grunt.\n\n## License\n\nCopyright (c) 2020-2023 Ferdinand Prantl\n\nLicensed under the MIT license.\n\n[node]: https://nodejs.org\n[npm]: https://npmjs.org\n[Grunt]: https://gruntjs.com\n[Gruntfile]: https://gruntjs.com/sample-gruntfile\n[Getting Gtarted]: https://github.com/gruntjs/grunt/wiki/Getting-started\n[Selenium]: http://www.seleniumhq.org/download/\n[safaridriver]: https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari\n[webdriverio]: http://webdriver.io/\n[Java]: https://java.com/en/download/\n[WebDriver]: https://www.w3.org/TR/webdriver/\n[grunt-html-dom-snapshot]: https://github.com/prantlf/grunt-html-dom-snapshot#readme\n[grunt-selenium-standalone]: https://github.com/zs-zs/grunt-selenium-standalone#readme\n[grunt-chromedriver]: https://github.com/prantlf/grunt-chromedriver#readme\n[grunt-geckodriver]: https://github.com/prantlf/grunt-geckodriver#readme\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fgrunt-safaridriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fgrunt-safaridriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fgrunt-safaridriver/lists"}