Method: Selenium::WebDriver::Driver#window_handle

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

#window_handleString

Get the current window handle

Returns:

  • (String)


219
220
221
# File 'lib/selenium/webdriver/common/driver.rb', line 219

def window_handle
  bridge.window_handle
end