From 83b17cc73e6e749a1f7f8e743e3163fd08661b21 Mon Sep 17 00:00:00 2001 From: Jonas Rudolph Date: Fri, 6 Oct 2017 13:51:04 +0200 Subject: [PATCH] Get Window Handles' returns sorted window handles --- webdriver-spec.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webdriver-spec.html b/webdriver-spec.html index df0f96ba2..04934b1ee 100644 --- a/webdriver-spec.html +++ b/webdriver-spec.html @@ -3698,7 +3698,8 @@

Get Window Handles

The Get Window Handles command returns a list of window handles for every open top-level browsing context. - The order in which the window handles are returned is arbitrary. + The window handles must be returned in ascending order, sorted by the + timestamp of the creation of their associated top-level browsing context.

The remote end steps are: