Esempio n. 1
0
 public function get_session_storage_count()
 {
     $response = $this->execute("GET", "/session/:sessionId/session_storage/size");
     return WebDriver::GetJSONValue($response);
 }
Esempio n. 2
0
 public function get_alert_text()
 {
     $response = $this->execute("GET", "/session/:sessionId/alert_text");
     return WebDriver::GetJSONValue($response);
 }
Esempio n. 3
0
 public function toggle()
 {
     $response = $this->execute("POST", "/toggle");
     return WebDriver::GetJSONValue($response);
 }
Esempio n. 4
0
 public function get_css_value($property_name)
 {
     $response = $this->execute("GET", "/css/" . $property_name);
     return WebDriver::GetJSONValue($response);
 }