Exports visible table data as an array of objects keyed by column header text.
Playwright Page (or compatible subset).
The UI5 control ID.
Optional
Export options (columns to include, etc.).
Array of row objects keyed by column header text.
This does NOT create a file export; it reads cell values as JSON objects.
const data = await exportTableData(page, 'myTable');// [{ Name: 'Alice', Status: 'Active' }, ...] Copy
const data = await exportTableData(page, 'myTable');// [{ Name: 'Alice', Status: 'Active' }, ...]
Exports visible table data as an array of objects keyed by column header text.