Package com.teamdev.jxbrowser.devtools
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 TypeMethodDescriptionbrowser()Returns theBrowserthat owns the dev tools.voidhide()Closes Chromium Developer Tools window if any is shown.Returns anOptionalthat 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 emptyOptionalif the URL is not available, because the engine has not been configured with the remote debugging port.voidshow()Opens Chromium Developer Tools panel in a new window.
-
Method Details
-
browser
Browser browser()Returns theBrowserthat owns the dev tools.- Since:
- 7.28
-
remoteDebuggingUrl
Returns anOptionalthat 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 emptyOptionalif 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
-