Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events #130

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Events #130

wants to merge 3 commits into from

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
1 participant