[py]: Fix return types for some chromium driver methods
@@ -188,7 +188,7 @@ class ChromiumDriver(RemoteWebDriver):
"""
return self.execute('getIssueMessage')['value']
- def set_sink_to_use(self, sink_name: str) -> str:
+ def set_sink_to_use(self, sink_name: str) -> dict:
"""
Sets a specific sink, using its name, as a Cast session receiver target.
@@ -197,7 +197,7 @@ class ChromiumDriver(RemoteWebDriver):
"""
return self.execute('setSinkToUse', {'sinkName': sink_name})
- def start_desktop_mirroring(self, sink_name: str) -> str:
+ def start_desktop_mirroring(self, sink_name: str) -> dict:
"""
Starts a desktop mirroring session on a specific receiver target.
@@ -206,7 +206,7 @@ class ChromiumDriver(RemoteWebDriver):
"""
return self.execute('startDesktopMirroring', {'sinkName': sink_name})
- def start_tab_mirroring(self, sink_name: str) -> str:
+ def start_tab_mirroring(self, sink_name: str) -> dict:
"""
Starts a tab mirroring session on a specific receiver target.
@@ -215,7 +215,7 @@ class ChromiumDriver(RemoteWebDriver):
"""
return self.execute('startTabMirroring', {'sinkName': sink_name})
- def stop_casting(self, sink_name: str) -> str:
+ def stop_casting(self, sink_name: str) -> dict:
"""
Stops the existing Cast session on a specific receiver target.
