Class Page.GoForwardOptions

  • Enclosing interface:
    Page

    public static class Page.GoForwardOptions
    extends Object
    • Field Detail

      • waitUntil

        public WaitUntilState waitUntil
        When to consider operation succeeded, defaults to load. Events can be either:
        • "domcontentloaded" - consider operation to be finished when the DOMContentLoaded event is fired.
        • "load" - consider operation to be finished when the load event is fired.
        • "networkidle" - **DISCOURAGED** consider operation to be finished when there are no network connections for at least 500 ms. Don't use this method for testing, rely on web assertions to assess readiness instead.
        • "commit" - consider operation to be finished when network response is received and the document started loading.
    • Constructor Detail

      • GoForwardOptions

        public GoForwardOptions()
    • Method Detail

      • setWaitUntil

        public Page.GoForwardOptions setWaitUntil​(WaitUntilState waitUntil)
        When to consider operation succeeded, defaults to load. Events can be either:
        • "domcontentloaded" - consider operation to be finished when the DOMContentLoaded event is fired.
        • "load" - consider operation to be finished when the load event is fired.
        • "networkidle" - **DISCOURAGED** consider operation to be finished when there are no network connections for at least 500 ms. Don't use this method for testing, rely on web assertions to assess readiness instead.
        • "commit" - consider operation to be finished when network response is received and the document started loading.