Skip to main content

Paths

DrevOps\BehatSteps\Steps\Web\PathTrait - Source, Steps

Navigate and verify paths with URL validation.

public function pathGetCurrent(): string

Get the path of the current URL

public function pathGetCurrentUrlQuery(): array

Get the query parameters of the current URL

public function pathGetUrlParameter(string $name): array|string

Get a query parameter of the current URL

public function pathIsCurrent(string $path): bool

Check whether the current URL is at a path