File tree 2 files changed +9
-1
lines changed
javascript/node/selenium-webdriver
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 3
3
* Fixed a bug where the promise manager would silently drop callbacks after
4
4
recovering from an unhandled promise rejection.
5
5
6
+ ### Changes for W3C WebDriver Spec Compliance
7
+
8
+ * Updated command mappings for [ getting] ( https://w3c.github.io/webdriver/webdriver-spec.html#get-window-position )
9
+ and [ setting] ( https://w3c.github.io/webdriver/webdriver-spec.html#set-window-position )
10
+ the window position.
11
+
6
12
7
13
## v3.0.0-beta-2
8
14
Original file line number Diff line number Diff line change @@ -197,9 +197,11 @@ const COMMAND_MAP = new Map([
197
197
198
198
/** @const {!Map<string, {method: string, path: string}> } */
199
199
const W3C_COMMAND_MAP = new Map ( [
200
+ [ cmd . Name . MAXIMIZE_WINDOW , post ( '/session/:sessionId/window/maximize' ) ] ,
201
+ [ cmd . Name . GET_WINDOW_POSITION , get ( '/session/:sessionId/window/position' ) ] ,
202
+ [ cmd . Name . SET_WINDOW_POSITION , post ( '/session/:sessionId/window/position' ) ] ,
200
203
[ cmd . Name . GET_WINDOW_SIZE , get ( '/session/:sessionId/window/size' ) ] ,
201
204
[ cmd . Name . SET_WINDOW_SIZE , post ( '/session/:sessionId/window/size' ) ] ,
202
- [ cmd . Name . MAXIMIZE_WINDOW , post ( '/session/:sessionId/window/maximize' ) ] ,
203
205
] ) ;
204
206
205
207
You can’t perform that action at this time.
0 commit comments