Method: Selenium::Client::GeneratedDriver#wait_for_frame_to_load

Defined in:
lib/selenium/client/legacy_driver.rb

#wait_for_frame_to_load(frameAddress, timeout) ⇒ Object

Waits for a new frame to load.

Selenium constantly keeps track of new pages and frames loading, and sets a “newPageLoaded” flag when it first notices a page load.

See waitForPageToLoad for more information.

‘frameAddress’ is FrameAddress from the server side ‘timeout’ is a timeout in milliseconds, after which this command will return with an error

[View source]

1441
1442
1443
# File 'lib/selenium/client/legacy_driver.rb', line 1441

def wait_for_frame_to_load(frameAddress,timeout)
    remote_control_command("waitForFrameToLoad", [frameAddress,timeout,])
end