Skip to content

Add to_slug func to slugify string #169

@dwisiswant0

Description

@dwisiswant0

Example use case:

headless:
  - steps:
      - action: navigate
        args:
          url: "{{BaseURL}}"
      - action: waitload
      - action: screenshot
        args:
          fullpage: true
          to: "/path/to/Screenshots/{{to_slug(concat("Screenshot", "-", BaseURL, "-", date_time("%Y-%M-%D-%H-%m")))}}"
          # Output of DSL: Screenshot-https-www-nytimes-com-2024-09-13-22-54

Metadata

Metadata

Assignees

Labels

Type: EnhancementMost issues will probably ask for additions or changes.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions