Molybden API
Loading...
Searching...
No Matches
devtools.hpp
1
// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOLYBDEN_DEVTOOLS_HPP
6
#define MOLYBDEN_DEVTOOLS_HPP
7
8
#include <memory>
9
10
namespace
molybden {
11
12
class
Browser;
13
17
class
DevTools
{
18
public
:
19
virtual
~DevTools
() =
default
;
20
24
virtual
std::shared_ptr<Browser>
browser
() = 0;
25
38
virtual
void
show
() = 0;
39
43
virtual
void
hide
() = 0;
44
};
45
46
}
// namespace molybden
47
48
#endif
// MOLYBDEN_DEVTOOLS_HPP
molybden::DevTools
Allows working with the browser's DevTools.
Definition
devtools.hpp:17
molybden::DevTools::hide
virtual void hide()=0
Hides DevTools if it is shown.
molybden::DevTools::show
virtual void show()=0
Shows DevTools.
molybden::DevTools::browser
virtual std::shared_ptr< Browser > browser()=0
Returns the browser instance of this DevTools.
include
molybden
devtools
devtools.hpp