Skip to content

Commit c71bf52

Browse files
committed
Adding swicth to parent frame command to the wire protocol
1 parent fc4f108 commit c71bf52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wire.py

+5
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,11 @@ def main():
738738
'If the currently selected window has been closed.').
739739
AddError('NoSuchFrame', 'If the frame specified by `id` cannot be found.'))
740740

741+
resources.append(
742+
SessionResource('/session/:sessionId/frame/parent').
743+
Post('''Change focus to the parent context. If the current context is the top level \
744+
browsing context, the context remains unchanged.'''))
745+
741746
resources.append(
742747
SessionResource('/session/:sessionId/window').
743748
Post('''Change focus to another window. The window to change focus to \

0 commit comments

Comments
 (0)