generate_steps_file
Creates WDIO step definitions files from Gherkin syntax, enabling test automation. Reuses existing steps, manages selectors, and saves output to specified paths for efficient test suite generation.
Instructions
Generate WDIO step definitions file with functions to execute Gherkin syntax
Input Schema
Name | Required | Description | Default |
---|---|---|---|
existing_steps | No | List of existing step functions to reuse | |
gherkin_syntax | Yes | Gherkin syntax to generate steps for | |
output_path | Yes | Path where the steps file should be saved | |
scenario_title | Yes | Title of the test scenario | |
selectors | No | Selectors for UI elements |