Page object for a framework
get_page_objectExports browser-collected selectors as a ready-to-use page object for your chosen test framework, converting each element into Playwright, Selenium, Cypress, or other framework-specific selectors.
Instructions
Exports the selectors collected in the browser as a ready page object. The best selector differs per framework: Playwright can match a role and an accessible name, Selenium cannot and falls back to CSS or XPath for the same element, so always pass the framework you are actually writing for.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"framework": "<framework>"
},
"name": "get_page_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | Yes | The test framework the output should be written for. |