Method: Selenium::WebDriver::Driver#window_handles

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

#window_handlesArray

Get the window handles of open browser windows.

Returns:

  • (Array)

See Also:


186
187
188
# File 'lib/selenium/webdriver/common/driver.rb', line 186

def window_handles
  bridge.window_handles
end