MCPcopy Create free account
hub / github.com/github/gh-aw / getPlaywrightCustomArgs

Function getPlaywrightCustomArgs

pkg/workflow/args.go:47–52  ·  view source on GitHub ↗

getPlaywrightCustomArgs extracts custom args from Playwright tool configuration

(playwrightConfig *PlaywrightToolConfig)

Source from the content-addressed store, hash-verified

45
46// getPlaywrightCustomArgs extracts custom args from Playwright tool configuration
47func 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

Callers 4

TestArgsFieldFunction · 0.85
renderPlaywrightTOMLMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestArgsFieldFunction · 0.68