instaclick / php-webdriver

W3C and Selenium 2 webdriver "thin client" for php 5.3+ and namespaces.
Other
435 stars 62 forks source link

Events #130

Open robocoder opened 11 months ago

robocoder commented 11 months ago

CompatBuster:

Features:

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+.