class Capybara::Window
def exists?
-
(Boolean)
- whether the window is not closed
def exists? @driver.window_handles.include?(@handle) end
(Boolean)
- whether the window is not closed
def exists? @driver.window_handles.include?(@handle) end