Class Selenium::WebDriver::Safari::Server
In: lib/selenium/webdriver/safari/server.rb
Parent: Object

Methods

Constants

HEADERS = <<-HEADERS HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Server: safaridriver-ruby HEADERS
HTML = <<-HTML <!DOCTYPE html> <h2>SafariDriver requesting connection at %s</h2> <script> // Must wait for onload so the injected script is loaded by the // SafariDriver extension. window.onload = function() { window.postMessage({ 'type': 'connect', 'origin': 'webdriver', 'url': '%s' }, '*'); }; </script> HTML

Public Class methods

Public Instance methods

[Validate]