From c71bf52786ed1711128f432c6347497cc2d7d1ca Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Wed, 12 Mar 2014 02:15:56 +0400 Subject: [PATCH] Adding swicth to parent frame command to the wire protocol --- wire.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wire.py b/wire.py index 5e12aa8257ef8..684ea4700391e 100755 --- a/wire.py +++ b/wire.py @@ -738,6 +738,11 @@ def main(): 'If the currently selected window has been closed.'). AddError('NoSuchFrame', 'If the frame specified by `id` cannot be found.')) + resources.append( + SessionResource('/session/:sessionId/frame/parent'). + Post('''Change focus to the parent context. If the current context is the top level \ +browsing context, the context remains unchanged.''')) + resources.append( SessionResource('/session/:sessionId/window'). Post('''Change focus to another window. The window to change focus to \