Method: Selenium::WebDriver::Driver#page_source

Defined in:
lib/selenium/webdriver/common/driver.rb

#page_sourceString

Get the source of the current page

Returns:

  • (String)

159
160
161
# File 'lib/selenium/webdriver/common/driver.rb', line 159

def page_source
  bridge.page_source
end