Class: Selenium::SeleniumServer

Inherits:
Object
  • Object
show all
Defined in:
lib/easy_automation/selenium.rb

Instance Method Summary collapse

Instance Method Details

#stopObject

Stops the Selenium server



8
9
10
# File 'lib/easy_automation/selenium.rb', line 8

def stop
  Net::HTTP.get('localhost', '/selenium-server/driver/?cmd=shutDownSeleniumServer', @port_number)
end