Class: SeleniumGrid::AWS::Hub

Inherits:
Server
  • Object
show all
Defined in:
lib/selenium-grid/examples/ec2/lib/selenium_grid/aws/hub.rb

Instance Attribute Summary

Attributes inherited from Server

#instance_id, #private_dns, #public_dns

Instance Method Summary collapse

Methods inherited from Server

boot, boot_and_acquire_dns, #dns_allocated?, #initialize, #refresh_status, #run, #shutdown, #wait_for_dns

Methods included from Ec2Client

#authorize_port, #describe, #ec2_shell, #launch, #shutdown, #tracing?, #version

Constructor Details

This class inherits a constructor from SeleniumGrid::AWS::Server

Instance Method Details

#console_urlObject



14
15
16
# File 'lib/selenium-grid/examples/ec2/lib/selenium_grid/aws/hub.rb', line 14

def console_url
  "#{url}/console"
end

#private_urlObject



10
11
12
# File 'lib/selenium-grid/examples/ec2/lib/selenium_grid/aws/hub.rb', line 10

def private_url
  "http://#{private_dns}:4444"
end

#urlObject



6
7
8
# File 'lib/selenium-grid/examples/ec2/lib/selenium_grid/aws/hub.rb', line 6

def url
  "http://#{public_dns}:4444"
end