Stop propagation of the webdriver-evaluate custom event when executing user
supplied JavaScript. Without this change, the event handler will trigger
twice for async scripts, causing the driver to attempt to evaluate the user
script twice, leading to unpredictable behavior.
Return an empty string instead of "null" when the browserName and version
capabilities are not set.