Interface DevTools


public interface DevTools
Allows working with Chromium Developer Tools and access the remote debugging URL of the currently loaded web page in the browser instance associated with this DevTools.
Since:
7.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Browser that owns the dev tools.
    void
    Closes Chromium Developer Tools window if any is shown.
    Returns an Optional that contains a string that represents the remote debugging URL of the currently loaded web page in the browser instance associated with this DevTools or an empty Optional if the URL is not available, because the engine has not been configured with the remote debugging port.
    void
    Opens Chromium Developer Tools panel in a new window.
  • Method Details

    • browser

      Browser browser()
      Returns the Browser that owns the dev tools.
      Since:
      7.28
    • remoteDebuggingUrl

      Optional<String> remoteDebuggingUrl()
      Returns an Optional that contains a string that represents the remote debugging URL of the currently loaded web page in the browser instance associated with this DevTools or an empty Optional if the URL is not available, because the engine has not been configured with the remote debugging port.
      See Also:
    • show

      void show()
      Opens Chromium Developer Tools panel in a new window. It does nothing if the Developer Tools window is already shown.
      Since:
      7.24
    • hide

      void hide()
      Closes Chromium Developer Tools window if any is shown.
      Since:
      7.24