This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET | |
/api/v1/hub/config #Grid Hub configuration | |
/api/v1/proxies #List of all connected proxies | |
/api/v1/proxies/id #Info on a given connected proxy (Hostname, IP, Version, etc..) | |
/api/v1/proxies/id/config #Proxy configuration (node.json) | |
/api/v1/proxies/id/capabilities #Registered capabilities, (Browsers, maxInstances, etc..) | |
/api/v1/proxies/id/sessions #List of current sessions (possibly previous ones also) | |
/api/v1/queue #List of new sessions in queue, possibly add DELETE verb to get rid of items in queue that we want removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'selenium-webdriver' | |
driver = Selenium::WebDriver.for(:remote, :url => "http://127.0.0.1:4444/wd/hub", :desired_capabilities => :firefox) | |
driver.get "http://seleniumhq.org" | |
sleep 5 | |
driver2 = Selenium::WebDriver.for(:remote, :url => "http://127.0.0.1:4444/wd/hub", :desired_capabilities => :firefox) |
OlderNewer