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 theBrowser
that owns the dev tools.void
hide()
Closes Chromium Developer Tools window if any is shown.Returns anOptional
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 emptyOptional
if the URL is not available, because the engine has not been configured with the remote debugging port.void
show()
Opens Chromium Developer Tools panel in a new window.
-
Method Details
-
browser
Browser browser()Returns theBrowser
that owns the dev tools.- Since:
- 7.28
-
remoteDebuggingUrl
Returns anOptional
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 emptyOptional
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
-