Executes a command against the underlying HTML element. Args: command: The name of the command to _execute as a string. params: A dictionary of named parameters to send with the command. Returns: The command's JSON response loaded into a dictionary obj
(self, command, params=None)
| 139 | |
| 140 | # Private Methods |
| 141 | def _execute(self, command, params=None): |
| 142 | """Executes a command against the underlying HTML element. |
| 143 | |
| 144 | Args: |
| 145 | command: The name of the command to _execute as a string. |
| 146 | params: A dictionary of named parameters to send with the command. |
| 147 | |
| 148 | Returns: |
| 149 | The command's JSON response loaded into a dictionary object. |
| 150 | """ |
| 151 | if not params: |
| 152 | params = {} |
| 153 | params["shadowId"] = self._id |
| 154 | return self.session.execute(command, params) |
no test coverage detected