Ai
Detects the UI5 table variant for a given control ID.
Playwright Page (or compatible subset).
The UI5 control ID.
ui5.table.detectType
Identify the table type (sap.m.Table, sap.ui.table.Table, SmartTable, MDC Table) so subsequent table operations use the correct API calls.
On success, returns a TableInfo with correct variant and effectiveId.
The tableId must reference a valid UI5 table control in the DOM.
Always call this first before other table operations. SmartTable wraps an inner table; the effectiveId points to the actual table control inside.
sap.ui.comp.smarttable.SmartTable, sap.m.Table, sap.ui.table.Table, sap.ui.mdc.Table
Unified table detection across all 6 SAP UI5 table variants.
`const info = await detectTableType(page, 'myTable');` Copy
`const info = await detectTableType(page, 'myTable');`
Detects the UI5 table variant for a given control ID.