Examples
Pick the example closest to what you are trying to do. If you are new, start with Basic Usage, then Pagination.
By Task
| I want to... | Start here |
|---|---|
| Find a row and assert a cell | Basic Usage |
| Search across pages | Pagination |
| Work with infinite scroll | Infinite Scroll |
| Extract many rows into data | Data Scraping |
| Use MUI DataGrid | MUI DataGrid |
| Use AG Grid | AG Grid |
| Write a custom strategy | Custom Strategies |
Common Starting Points
Assert a Cell by Column Name
typescript
const row = table.getRow({ Name: 'John Doe' });
await expect(row.getCell('Email')).toHaveText('john@example.com');Find Rows Across Pages
typescript
const engineers = await table.findRows({ Department: 'Engineering' });
expect(engineers.length).toBeGreaterThan(0);Extract Data
typescript
const data = await table.map(({ row }) => row.toJSON());Fill Editable Cells
typescript
const row = table.getRow({ ID: '12345' });
await row.smartFill({ Email: 'new.email@example.com' });Need API Details?
Use the API Reference when you know the method or config option and need exact signatures.