{"id":47620799,"url":"https://github.com/rickcedwhat/playwright-smart-table","last_synced_at":"2026-06-28T00:01:36.211Z","repository":{"id":328071030,"uuid":"1114134291","full_name":"rickcedwhat/playwright-smart-table","owner":"rickcedwhat","description":"Production-ready table testing for Playwright with smart column-aware locators.","archived":false,"fork":false,"pushed_at":"2026-06-20T23:42:49.000Z","size":8196,"stargazers_count":5,"open_issues_count":15,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-21T00:18:44.659Z","etag":null,"topics":["automation","e2e","playwright","qa","table","testing","typescript"],"latest_commit_sha":null,"homepage":"https://rickcedwhat.github.io/playwright-smart-table/","language":"HTML","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/rickcedwhat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-11T00:24:23.000Z","updated_at":"2026-06-20T23:42:22.000Z","dependencies_parsed_at":"2026-04-02T03:01:09.768Z","dependency_job_id":null,"html_url":"https://github.com/rickcedwhat/playwright-smart-table","commit_stats":null,"previous_names":["rickcedwhat/playwright-smart-table"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/rickcedwhat/playwright-smart-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickcedwhat%2Fplaywright-smart-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickcedwhat%2Fplaywright-smart-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickcedwhat%2Fplaywright-smart-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickcedwhat%2Fplaywright-smart-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickcedwhat","download_url":"https://codeload.github.com/rickcedwhat/playwright-smart-table/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickcedwhat%2Fplaywright-smart-table/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34872279,"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-06-27T02:00:06.362Z","response_time":126,"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":["automation","e2e","playwright","qa","table","testing","typescript"],"created_at":"2026-04-01T22:03:00.573Z","updated_at":"2026-06-28T00:01:36.205Z","avatar_url":"https://github.com/rickcedwhat.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playwright Smart Table\n\n**Dealing with tables sucks. Locators are brittle, hard to read, and break the moment a column moves or pagination kicks in.**\n\nPlaywright Smart Table lets you find rows by column name instead of fragile DOM positions. You describe your table — it does the rest.\n\n[![npm version](https://img.shields.io/github/package-json/v/rickcedwhat/playwright-smart-table?label=npm\u0026color=blue\u0026t=2)](https://www.npmjs.com/package/@rickcedwhat/playwright-smart-table)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## 📚 [Full Documentation →](https://rickcedwhat.github.io/playwright-smart-table/)\n\n---\n\n```typescript\n// ❌ Before — breaks if columns reorder\nconst row = page.locator('tbody tr')\n  .filter({ has: page.locator('td:nth-child(1)', { hasText: 'John' }) })\n  .filter({ has: page.locator('td:nth-child(2)', { hasText: 'Doe' }) })\nconst email = await row.locator('td:nth-child(3)').innerText()\n```\n\n```typescript\n// ✅ After — column-aware, survives reordering\nconst row = table.getRow({ firstName: 'John', lastName: 'Doe' })\nconst email = await row.getCell('Email').innerText()\n```\n\n---\n\n## Installation\n\n```bash\nnpm install @rickcedwhat/playwright-smart-table\n```\n\n## Quick Start\n\n```typescript\nimport { useTable } from '@rickcedwhat/playwright-smart-table';\n\nconst table = await useTable(page.locator('#my-table')).init();\n\nconst row = table.getRow({ Name: 'John Doe' });\nconst email = await row.getCell('Email').innerText();\n```\n\n## Features\n\n- [Row access](https://rickcedwhat.github.io/playwright-smart-table/guide/query/) — find rows by column name, not DOM index\n- [Pagination search](https://rickcedwhat.github.io/playwright-smart-table/guide/query/find-rows) — `findRow` and `findRows` scan across pages automatically\n- [Iteration](https://rickcedwhat.github.io/playwright-smart-table/guide/query/iterate) — `forEach`, `map`, `filter`, with early exit via `stop()`\n- [Table config](https://rickcedwhat.github.io/playwright-smart-table/guide/describe/) — plug in any pagination shape, virtual scroll, or custom header logic\n- [Fill / edit cells](https://rickcedwhat.github.io/playwright-smart-table/guide/query/write) — write values back into table cells\n\n---\n\n- [Documentation](https://rickcedwhat.github.io/playwright-smart-table/)\n- [npm Package](https://www.npmjs.com/package/@rickcedwhat/playwright-smart-table)\n- [GitHub Repository](https://github.com/rickcedwhat/playwright-smart-table)\n- [Issues](https://github.com/rickcedwhat/playwright-smart-table/issues)\n- [Discussions](https://github.com/rickcedwhat/playwright-smart-table/discussions) — questions and ideas\n\nMIT © Cedrick Catalan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickcedwhat%2Fplaywright-smart-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickcedwhat%2Fplaywright-smart-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickcedwhat%2Fplaywright-smart-table/lists"}