| |
- AddDirToPythonPath(*path_parts)
- CloseConnections(tab)
- Closes all TCP sockets held open by the browser.
- FindElementAndPerformAction(tab, text, callback_code)
- JavaScript snippet for finding an element with a given text on a page.
- FindSupportBinary(binary_name, executable=True)
- Returns the path to the given binary name.
- GetBaseDir()
- GetBuildDirectories()
- Yields all combination of Chromium build output directories.
- GetChromiumSrcDir()
- GetTelemetryDir()
- GetUnittestDataDir()
- GetUnreservedAvailableLocalPort()
- Returns an available port on the system.
WARNING: This method does not reserve the port it returns, so it may be used
by something else before you get to use it. This can lead to flake.
- WaitFor(condition, timeout)
- Waits for up to |timeout| secs for the function |condition| to return True.
Polling frequency is (elapsed_time / 10), with a min of .1s and max of 5s.
Returns:
Result of |condition| function (if present).
|