Molybden API
Loading...
Searching...
No Matches
molybden::DevTools Class Referenceabstract

Allows working with the browser's DevTools. More...

#include <devtools.hpp>

Public Member Functions

virtual std::shared_ptr< Browserbrowser ()=0
 Returns the browser instance of this DevTools.
 
virtual void show ()=0
 Shows DevTools.
 
virtual void hide ()=0
 Hides DevTools if it is shown.
 

Detailed Description

Allows working with the browser's DevTools.

Member Function Documentation

◆ show()

virtual void molybden::DevTools::show ( )
pure virtual

Shows DevTools.

Depending on the current state of DevTools and the browser window, this method may behave differently:

  • if DevTools is already shown (docked or undocked), this method does nothing.
  • if DevTools is docked and the browser window is not visible, this method shows the browser window with docked DevTools.
  • if DevTools is undocked and the browser window is not visible, this method shows the DevTools window and keep the browser window hidden.

The documentation for this class was generated from the following file: