lib/selenium/webdriver/safari/server.rb in selenium-webdriver-2.21.2 vs lib/selenium/webdriver/safari/server.rb in selenium-webdriver-2.22.0.rc1
- old
+ new
@@ -80,11 +80,11 @@
<script>
// Must wait for onload so the injected script is loaded by the
// SafariDriver extension.
window.onload = function() {
window.postMessage({
- 'message': 'connect',
- 'source': 'webdriver',
+ 'type': 'connect',
+ 'origin': 'webdriver',
'url': '%s'
}, '*');
};
</script>
HTML