MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Session

Class Session

cpp/webdriver-server/session.h:27–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace webdriver {
26
27class Session {
28 public:
29 Session(void) {}
30 virtual ~Session(void) {}
31
32 virtual void Initialize(void* init_params) = 0;
33 virtual void ShutDown(void) = 0;
34 virtual bool ExecuteCommand(const std::string& serialized_command,
35 std::string* serialized_response) = 0;
36
37 //std::string session_id(void) const { return this->session_id_; }
38
39 protected:
40 void set_session_id(const std::string& id) { this->session_id_ = id; }
41
42 private:
43 // The unique ID of the session.
44 std::string session_id_;
45
46 DISALLOW_COPY_AND_ASSIGN(Session);
47};
48
49} // namespace webdriver
50

Callers 6

_sessionMethod · 0.90
_subscribe_to_eventFunction · 0.90
_unsubscribe_from_eventFunction · 0.90
subscribe_to_eventMethod · 0.90
clear_event_handlersMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected