File tree Expand file tree Collapse file tree
rb/lib/selenium/webdriver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ module Features
2727 get_cast_sinks : [ :get , 'session/:session_id/goog/cast/get_sinks' ] ,
2828 set_cast_sink_to_use : [ :post , 'session/:session_id/goog/cast/set_sink_to_use' ] ,
2929 start_cast_tab_mirroring : [ :post , 'session/:session_id/goog/cast/start_tab_mirroring' ] ,
30+ start_cast_desktop_mirroring : [ :post , 'session/:session_id/goog/cast/start_desktop_mirroring' ] ,
3031 get_cast_issue_message : [ :get , 'session/:session_id/goog/cast/get_issue_message' ] ,
3132 stop_casting : [ :post , 'session/:session_id/goog/cast/stop_casting' ] ,
3233 get_network_conditions : [ :get , 'session/:session_id/chromium/network_conditions' ] ,
@@ -62,6 +63,10 @@ def start_cast_tab_mirroring(name)
6263 execute :start_cast_tab_mirroring , { } , { sinkName : name }
6364 end
6465
66+ def start_cast_desktop_mirroring ( name )
67+ execute :start_cast_desktop_mirroring , { } , { sinkName : name }
68+ end
69+
6570 def stop_casting ( name )
6671 execute :stop_casting , { } , { sinkName : name }
6772 end
Original file line number Diff line number Diff line change @@ -52,6 +52,16 @@ def start_cast_tab_mirroring(name)
5252 @bridge . start_cast_tab_mirroring ( name )
5353 end
5454
55+ #
56+ # Starts a tab mirroring session on a specific receiver target.
57+ #
58+ # @param [String] name the sink to use as the target
59+ #
60+
61+ def start_cast_desktop_mirroring ( name )
62+ @bridge . start_cast_desktop_mirroring ( name )
63+ end
64+
5565 #
5666 # Gets error messages when there is any issue in a Cast session.
5767 #
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ module Features
3030 get_cast_sinks : [ :get , 'session/:session_id/ms/cast/get_sinks' ] ,
3131 set_cast_sink_to_use : [ :post , 'session/:session_id/ms/cast/set_sink_to_use' ] ,
3232 start_cast_tab_mirroring : [ :post , 'session/:session_id/ms/cast/start_tab_mirroring' ] ,
33+ start_cast_desktop_mirroring : [ :post , 'session/:session_id/ms/cast/start_desktop_mirroring' ] ,
3334 get_cast_issue_message : [ :get , 'session/:session_id/ms/cast/get_issue_message' ] ,
3435 stop_casting : [ :post , 'session/:session_id/ms/cast/stop_casting' ] ,
3536 send_command : [ :post , 'session/:session_id/ms/cdp/execute' ]
You can’t perform that action at this time.
0 commit comments