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)


179
180
181
# File 'lib/selenium/webdriver/common/driver.rb', line 179

def page_source
  bridge.page_source
end