{"id":17683128,"url":"https://github.com/fwouts/webdriverio-jest","last_synced_at":"2025-05-12T21:53:01.596Z","repository":{"id":97887587,"uuid":"146510774","full_name":"fwouts/webdriverio-jest","owner":"fwouts","description":"Example of a WebdriverIO test written with the Jest framework","archived":false,"fork":false,"pushed_at":"2018-08-28T22:58:38.000Z","size":140,"stargazers_count":22,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T18:39:29.751Z","etag":null,"topics":["automation","jest","testing","webdriverio"],"latest_commit_sha":null,"homepage":"https://github.com/webdriverio/webdriverio/issues/2052","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/fwouts.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-08-28T21:51:34.000Z","updated_at":"2024-09-17T20:59:21.000Z","dependencies_parsed_at":"2023-05-31T11:46:06.743Z","dependency_job_id":null,"html_url":"https://github.com/fwouts/webdriverio-jest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwouts%2Fwebdriverio-jest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwouts%2Fwebdriverio-jest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwouts%2Fwebdriverio-jest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwouts%2Fwebdriverio-jest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwouts","download_url":"https://codeload.github.com/fwouts/webdriverio-jest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253830792,"owners_count":21970999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automation","jest","testing","webdriverio"],"created_at":"2024-10-24T09:44:28.626Z","updated_at":"2025-05-12T21:53:01.574Z","avatar_url":"https://github.com/fwouts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebdriverIO with Jest\n\n[![CircleCI](https://circleci.com/gh/zenclabs/webdriverio-jest.svg?style=svg)](https://circleci.com/gh/zenclabs/webdriverio-jest)\n\nThis is the simplest possible example of a WebdriverIO test written with the Jest framework.\n\nBecause WebdriverIO doesn't support Jest as a first-class citizen, this test suite leverages the\nWebdriverIO remote API. This means that we need to do a few things ourselves, such as starting up\nSelenium server as well as the browser. It also means that we must use `async`/`await` statements.\n\n## How to use it\n\n```sh\nnpm install\nnpm test\n```\n\n## Picking a different browser\n\nThe browser is chosen based on the `BROWSER_NAME` environment variable, defaulting to `chrome`.\n\nExamples:\n```\nBROWSER_NAME=chrome npm test\nBROWSER_NAME=safari npm test\nBROWSER_NAME=firefox npm test\nBROWSER_NAME=\"internet explorer\" npm test\nBROWSER_NAME=MicrosoftEdge npm test\n```\n\n# Running with Chrome headless\n\nSimply set the `HEADLESS` environment variable to `1`:\n```\nHEADLESS=1 npm test\n```\n\n# TypeScript\n\nCheck out the [typescript branch](https://github.com/zenclabs/webdriverio-jest/tree/typescript)\nfor the equivalent test written in TypeScript.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwouts%2Fwebdriverio-jest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwouts%2Fwebdriverio-jest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwouts%2Fwebdriverio-jest/lists"}