Hi,
Update: After trying all generated subjects, I still cannot find a subject that targets the visible grid. It appears the generated root locator does not exist in the rendered DOM.
I'm trying to use the generated grid instead of Playwright locators.
According to the documentation, a generated subject should allow interactions like:
await subject.grid1.getRowByIndex(0);
await subject.grid1.getCellByExactValue('Some value');
await subject.grid1.getCellValuesByColId('column_id');However, all generated subjects I tried fail because the generated root locator cannot be found in the DOM.
For example, Testwise generates locators like:
[data-testid="screen__..."]but those data-testid values do not exist in the rendered page. As a result, methods such as:
subject.grid1.getRowByIndex(0)
subject.grid1.getCellByExactValue(...)
subject.grid1.getCellValuesByColId(...)always fail, even though the grid and its rows are clearly visible and can be accessed with standard Playwright locators.
My questions are:
- How do you determine which generated subject belongs to a specific grid?
- Is there a way to verify that a generated subject is using the correct root locator?
- If the generated root locator does not exist in the DOM, is this a model generation issue, or am I missing a recommended approach?
I'm trying to understand whether I'm using the generated subjects incorrectly or whether the generated locator is out of sync with the current UI.
Thanks!

