MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getPageSource

Method getPageSource

java/src/org/openqa/selenium/WebDriver.java:145–145  ·  view source on GitHub ↗

Get the source of the last loaded page. If the page has been modified after loading (for example, by Javascript) there is no guarantee that the returned text is that of the modified page. Please consult the documentation of the particular driver being used to determine whether the returned text refl

()

Source from the content-addressed store, hash-verified

143 * @return The source of the current page
144 */
145 @Nullable String getPageSource();
146
147 /**
148 * Close the current window, quitting the browser if it's the last window currently open.

Implementers 3

StubDriverjava/test/org/openqa/selenium/StubDriv
RemoteWebDriverjava/src/org/openqa/selenium/remote/Re
DecoratedWebDriverTestjava/test/org/openqa/selenium/support/

Calls

no outgoing calls