Skip to content

Commit aa25e54

Browse files
committed
No logical changes: make a note of w3c commands that don't return data in "value"
Normally, w3c webdriver end points return a data structure where the result to return to the user is serialized as a property called "value". Some commands, however, do not do this. Make a note of these for future handling.
1 parent 1f79785 commit aa25e54

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

java/client/src/org/openqa/selenium/remote/http/W3CHttpResponseCodec.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@
4141
*/
4242
public class W3CHttpResponseCodec extends AbstractHttpResponseCodec {
4343

44+
// Commands that need special handling:
45+
// * Get Window Size
46+
// * Set Window Size
47+
// * Get Window Position
48+
// * Set Window Position
49+
// * Maximise Window
50+
// * Full screen window
51+
// * Get Active Element
52+
// * Possibly find element
53+
// * Get Element Rect
54+
// * Get Page Source
55+
// * Get All Cookies
56+
// * Get Named Cookie
57+
// I've not checked the actions apis yet
58+
4459
private static final Logger log = Logger.getLogger(W3CHttpResponseCodec.class.getName());
4560

4661
private final ErrorCodes errorCodes = new ErrorCodes();

0 commit comments

Comments
 (0)