1 2017-07-18 Carlos Garcia Campos <cgarcia@igalia.com>
3 WebDriver: handle invalid selector errors
4 https://bugs.webkit.org/show_bug.cgi?id=174619
6 Reviewed by Brian Burg.
8 Add InvalidSelector error and handle it in case of protocol server error.
11 (WebDriver::CommandResult::CommandResult):
12 (WebDriver::CommandResult::httpStatusCode):
13 (WebDriver::CommandResult::errorString):
16 2017-07-18 Carlos Alberto Lopez Perez <clopez@igalia.com>
18 [GTK] Fix build with Clang after r219605.
19 https://bugs.webkit.org/show_bug.cgi?id=166682
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]
26 * glib/SessionHostGlib.cpp: insert an explicit cast to silence this issue.
28 2017-07-13 Carlos Garcia Campos <cgarcia@igalia.com>
30 Add initial implementation of WebDriver process to run the HTTP server
31 https://bugs.webkit.org/show_bug.cgi?id=166682
33 Reviewed by Brian Burg.
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.
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.
51 * SessionHost.cpp: Added.
52 * SessionHost.h: Added.
53 * WebDriverMain.cpp: Added.
54 * WebDriverService.cpp: Added.
55 * WebDriverService.h: Added.
57 * glib/SessionHostGlib.cpp: Added.
58 * gtk/WebDriverServiceGtk.cpp: Added.
59 * soup/HTTPServerSoup.cpp: Added.