Ejemplo n.º 1
0
 def login(self) -> dict:
     if self._use_get_method:
         response = self._http_get(self._url_for('Login'))
     else:
         response = self._http_post(self._url_for('Login'))
     self._capabilities = parse_capability_urls(response)
     return self._capabilities
Ejemplo n.º 2
0
 def login(self) -> dict:
     response = self._http_request(self._url_for('Login'))
     self._capabilities = parse_capability_urls(response)
     return self._capabilities