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:



209
210
211
# File 'lib/selenium/webdriver/common/driver.rb', line 209

def window_handles
  bridge.window_handles
end