{"id":20560085,"url":"https://github.com/webdriverio/component-testing-examples","last_synced_at":"2025-10-20T07:39:36.476Z","repository":{"id":62817518,"uuid":"561585472","full_name":"webdriverio/component-testing-examples","owner":"webdriverio","description":"This repository contains several examples testing web components using WebdriverIO","archived":false,"fork":false,"pushed_at":"2025-02-06T20:04:01.000Z","size":14733,"stargazers_count":15,"open_issues_count":9,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-19T12:45:32.369Z","etag":null,"topics":["testing","wdio","webcomponents","webdriverio"],"latest_commit_sha":null,"homepage":"https://webdriver.io","language":"TypeScript","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/webdriverio.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,"zenodo":null},"funding":{"tidelift":"npm/webdriverio","open_collective":"webdriverio"}},"created_at":"2022-11-04T02:28:36.000Z","updated_at":"2025-08-17T20:16:53.000Z","dependencies_parsed_at":"2023-12-19T10:02:22.692Z","dependency_job_id":"7ef46e67-fb0c-441a-9cba-a291cb5c0c1b","html_url":"https://github.com/webdriverio/component-testing-examples","commit_stats":{"total_commits":140,"total_committers":6,"mean_commits":"23.333333333333332","dds":0.09999999999999998,"last_synced_commit":"5d4c337768ab207a2ae538ddb9104798cb2d0020"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webdriverio/component-testing-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio%2Fcomponent-testing-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio%2Fcomponent-testing-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio%2Fcomponent-testing-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio%2Fcomponent-testing-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdriverio","download_url":"https://codeload.github.com/webdriverio/component-testing-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio%2Fcomponent-testing-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699712,"owners_count":25152286,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":["testing","wdio","webcomponents","webdriverio"],"created_at":"2024-11-16T03:53:11.681Z","updated_at":"2025-10-20T07:39:31.421Z","avatar_url":"https://github.com/webdriverio.png","language":"TypeScript","funding_links":["https://tidelift.com/funding/github/npm/webdriverio","https://opencollective.com/webdriverio"],"categories":[],"sub_categories":[],"readme":"# WebdriverIO Component Testing Examples [![Test](https://github.com/webdriverio/component-testing-examples/actions/workflows/test.yaml/badge.svg)](https://github.com/webdriverio/component-testing-examples/actions/workflows/test.yaml)\n\nThis repository contains several examples for testing web components using WebdriverIO. They are using different frameworks and set-ups and we will continue to add more examples as we improve support for more environments. All examples use WebdriverIO v8 and the `@wdio/browser-runner` to run tests within the browser environment.\n\nCurrent examples are:\n\n- [`lit-typescript-vite`](https://github.com/webdriverio/component-testing-examples/tree/main/lit-typescript-vite): [Lit](https://lit.dev/) + [TypeScript](https://www.typescriptlang.org/) compiled with [Vite](https://vitejs.dev/)\n- [`preact-typescript-vite`](https://github.com/webdriverio/component-testing-examples/tree/main/preact-typescript-vite): [Preact](https://preactjs.com/) + [TypeScript](https://www.typescriptlang.org/) compiled with [Vite](https://vitejs.dev/)\n- [`react-typescript-vite`](https://github.com/webdriverio/component-testing-examples/tree/main/react-typescript-vite): [React](https://reactjs.org/) + [TypeScript](https://www.typescriptlang.org/) compiled with [Vite](https://vitejs.dev/)\n- [`svelte-typescript-vite`](https://github.com/webdriverio/component-testing-examples/tree/main/svelte-typescript-vite): [Svelte](https://svelte.dev/) + [TypeScript](https://www.typescriptlang.org/) compiled with [Vite](https://vitejs.dev/)\n- [`vue-typescript-vite`](https://github.com/webdriverio/component-testing-examples/tree/main/vue-typescript-vite): [Vue.js](https://vuejs.org/) + [TypeScript](https://www.typescriptlang.org/) compiled with [Vite](https://vitejs.dev/)\n- [`nuxt`](https://github.com/webdriverio/component-testing-examples/tree/main/nuxt): [Nuxt](https://nuxt.com/)\n- [`nextjs`](https://github.com/webdriverio/component-testing-examples/tree/main/nextjs): [Next.js](https://nextjs.org/)\n- [`solidjs-typescript-vite`](https://github.com/webdriverio/component-testing-examples/tree/main/solidjs-typescript-vite): [Solid.js](https://www.solidjs.com/) + [TypeScript](https://www.typescriptlang.org/) compiled with [Vite](https://vitejs.dev/)\n- [`enhance`](https://github.com/webdriverio/component-testing-examples/tree/main/enhance): [Enhance](https://enhance.dev/docs/)\n- [`create-react-app`](https://github.com/webdriverio/component-testing-examples/tree/main/create-react-app): [Create React App](https://create-react-app.dev/)\n- [`stencil-component-starter`](https://github.com/webdriverio/component-testing-examples/tree/main/stencil-component-starter): [Stencil Component Starter](https://github.com/ionic-team/stencil-component-starter) using [Stencil](https://stenciljs.com/)\n- [`ionic-react`](https://github.com/webdriverio/component-testing-examples/tree/main/ionic-react): [Ionic React Starter](https://ionicframework.com/docs/react) using [Capacitor](https://capacitorjs.com/)\n\nIf you are missing an example, feel free to [raise an issue](https://github.com/webdriverio/component-testing-examples/issues/new).\n\n## Usage\n\nYou can test component testing with WebdriverIO using the given examples:\n\n1. Switch to the desired example directory\n\n    ```sh\n    cd ./\u003cexample-directory\u003e\n    ```\n\n1. Install dependencies:\n\n    ```sh\n    npm install\n    ```\n\n1. Run WebdriverIO tests:\n\n    ```sh\n    npm run wdio\n    ```\n\n## Documentation\n\nFor more information on browser and component testing using WebdriverIO, check out the [project docs](https://webdriver.io/).\n\n## Contributing\n\nContributions to adding more examples or extending existing examples are very welcome. For questions about this topic, feel free to join us on [Discord Support channel](https://discord.webdriver.io) or raise an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdriverio%2Fcomponent-testing-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdriverio%2Fcomponent-testing-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdriverio%2Fcomponent-testing-examples/lists"}