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
10namespace molybden {
11
12class Browser;
13
17class 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
Allows working with the browser's DevTools.
Definition devtools.hpp:17
virtual void hide()=0
Hides DevTools if it is shown.
virtual void show()=0
Shows DevTools.
virtual std::shared_ptr< Browser > browser()=0
Returns the browser instance of this DevTools.