Skip to main content
Glama

Automation Script Generator MCP Server

generate_page_file

Create WDIO page object files with predefined selectors and essential functions for automated test scenarios using the Automation Script Generator MCP Server.

Instructions

Generate WDIO page object file with general functions and element selectors

Input Schema

NameRequiredDescriptionDefault
output_pathYesPath where the page file should be saved
page_functionsNoList of page functions needed
scenario_titleYesTitle of the test scenario
selectorsYesSelectors for each UI element

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "output_path": { "description": "Path where the page file should be saved", "minLength": 1, "type": "string" }, "page_functions": { "description": "List of page functions needed", "items": { "type": "string" }, "type": "array" }, "scenario_title": { "description": "Title of the test scenario", "minLength": 1, "type": "string" }, "selectors": { "description": "Selectors for each UI element", "type": "object" } }, "required": [ "scenario_title", "selectors", "output_path" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/raymondsambur/automation-script-generator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server