Skip to content

Conversation

@robocoder
Copy link
Member

CompatBuster:

  • $this->curl no longer prefixes the command with a leading slash, e.g., '/status'

Features:

  • Dispatches before/after/error events for each WebDriver command

Sample Before Event:

{
    "event": "before",
    "command": "webdriver_command",
    "parameters": []
}

Sample After Event:

    "event": "after",
    "command": "webdriver_command",
    "result": { ... }

Sample Error Event:

{
    "event": "error",
    "command": "webdriver_command",
    "error", "WebDriverExceptionClassName"
}

This PR is dependent on #129, and requires PHP 7.2+.

@robocoder robocoder linked an issue Dec 9, 2023 that may be closed by this pull request
@robocoder robocoder marked this pull request as draft December 9, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for EventListener

2 participants