19a3d1d51f05323420d5ef72a72da28ee90a0b9c
[WebKit-https.git] / Source / WebDriver / ChangeLog
1 2017-07-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         WebDriver: handle invalid selector errors
4         https://bugs.webkit.org/show_bug.cgi?id=174619
5
6         Reviewed by Brian Burg.
7
8         Add InvalidSelector error and handle it in case of protocol server error.
9
10         * CommandResult.cpp:
11         (WebDriver::CommandResult::CommandResult):
12         (WebDriver::CommandResult::httpStatusCode):
13         (WebDriver::CommandResult::errorString):
14         * CommandResult.h:
15
16 2017-07-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
17
18         [GTK] Fix build with Clang after r219605.
19         https://bugs.webkit.org/show_bug.cgi?id=166682
20
21         Unreviewed build fix.
22
23         Clang-3.8 complains with the following error:
24         non-constant-expression cannot be narrowed from type 'gboolean' (aka 'int') to 'bool' in initializer list [-Wc++11-narrowing]
25
26         * glib/SessionHostGlib.cpp: insert an explicit cast to silence this issue.
27
28 2017-07-13  Carlos Garcia Campos  <cgarcia@igalia.com>
29
30         Add initial implementation of WebDriver process to run the HTTP server
31         https://bugs.webkit.org/show_bug.cgi?id=166682
32
33         Reviewed by Brian Burg.
34
35         Add WebDriver process that runs the HTTP server and implements an initial set of commands. Most of the code is
36         cross-platform, only the HTTP server implementation, the code to launch the browser and the communication with
37         the remote inspector requires platform specific code. This patch includes the GTK port implementation, using
38         libsoup for the HTTP server, and GLib for launching the browser and communicating with the remote
39         inspector. This implementation follows the w3c spec (https://www.w3.org/TR/webdriver) as close as possible, but
40         using the official selenium python tests as reference.
41
42         * CMakeLists.txt: Added.
43         * Capabilities.h: Added.
44         * CommandResult.cpp: Added.
45         * CommandResult.h: Added.
46         * HTTPServer.cpp: Added.
47         * HTTPServer.h: Added.
48         * PlatformGTK.cmake: Added.
49         * Session.cpp: Added.
50         * Session.h: Added.
51         * SessionHost.cpp: Added.
52         * SessionHost.h: Added.
53         * WebDriverMain.cpp: Added.
54         * WebDriverService.cpp: Added.
55         * WebDriverService.h: Added.
56         * config.h: Added.
57         * glib/SessionHostGlib.cpp: Added.
58         * gtk/WebDriverServiceGtk.cpp: Added.
59         * soup/HTTPServerSoup.cpp: Added.