getPlaywrightCustomArgs extracts custom args from Playwright tool configuration
(playwrightConfig *PlaywrightToolConfig)
| 45 | |
| 46 | // getPlaywrightCustomArgs extracts custom args from Playwright tool configuration |
| 47 | func getPlaywrightCustomArgs(playwrightConfig *PlaywrightToolConfig) []string { |
| 48 | if playwrightConfig != nil && len(playwrightConfig.Args) > 0 { |
| 49 | return playwrightConfig.Args |
| 50 | } |
| 51 | return nil |
| 52 | } |
| 53 | |
| 54 | // writeArgsToYAML writes custom args to YAML with proper JSON quoting and escaping |
| 55 | // indent specifies the indentation string for each argument line |
no outgoing calls