1 diff --git a/javascript/atoms/mouse.js b/javascript/atoms/mouse.js
2 index bed494b..d6c3be1 100644
3 --- a/javascript/atoms/mouse.js
4 +++ b/javascript/atoms/mouse.js
5 @@ -141,7 +141,7 @@ bot.Mouse.NO_BUTTON_VALUE_INDEX_ = 3;
6 * click/ mouseup/ mouseout/ mousemove contextmenu
7 * dblclick mousedown mouseover
8 * IE_DOC_PRE9 0 0 0 X 1 4 2 X 0 0 0 0 1 4 2 0 X X 0 X
9 - * WEBKIT/IE9 0 1 2 X 0 1 2 X 0 1 2 0 0 1 2 0 X X 2 X
10 + * WEBKIT/IE9 0 1 2 X 0 1 2 X 0 1 2 4 0 1 2 4 X X 2 X
11 * GECKO/OPERA 0 1 2 X 0 1 2 X 0 0 0 0 0 0 0 0 X X 2 X
13 * @private {!Object.<bot.events.EventType, !Array.<?number>>}
14 @@ -161,8 +161,8 @@ bot.Mouse.MOUSE_BUTTON_VALUE_MAP_ = (function() {
15 buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null];
16 buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null];
17 buttonValueMap[bot.events.EventType.MOUSEUP] = [0, 1, 2, null];
18 - buttonValueMap[bot.events.EventType.MOUSEOUT] = [0, 1, 2, 0];
19 - buttonValueMap[bot.events.EventType.MOUSEMOVE] = [0, 1, 2, 0];
20 + buttonValueMap[bot.events.EventType.MOUSEOUT] = [0, 1, 2, 4];
21 + buttonValueMap[bot.events.EventType.MOUSEMOVE] = [0, 1, 2, 4];
23 buttonValueMap[bot.events.EventType.CLICK] = [0, 1, 2, null];
24 buttonValueMap[bot.events.EventType.CONTEXTMENU] = [null, null, 2, null];
25 diff --git a/javascript/chrome-driver/build.desc b/javascript/chrome-driver/build.desc
26 index 356eefd..b0e6cae 100644
27 --- a/javascript/chrome-driver/build.desc
28 +++ b/javascript/chrome-driver/build.desc
29 @@ -24,6 +24,11 @@ js_fragment(name = "get_page_zoom",
30 function = "webdriver.chrome.getPageZoom",
33 +js_fragment(name = "touch_single_tap",
34 + module = "bot.action",
35 + function = "bot.action.tap",
36 + deps = [ "//javascript/atoms:deps" ])
38 js_test(name = "test",
39 srcs = [ "test/*_test.html" ],
41 @@ -52,6 +57,7 @@ js_fragment_cpp(name = "atoms",
42 "//javascript/chrome-driver:get_location_in_view:chrome",
43 "//javascript/chrome-driver:get_page_zoom:chrome",
44 "//javascript/chrome-driver:is_element_clickable:chrome",
45 + "//javascript/chrome-driver:touch_single_tap:chrome",
46 "//javascript/webdriver/atoms/fragments:clear_local_storage:chrome",
47 "//javascript/webdriver/atoms/fragments:clear_session_storage:chrome",
48 "//javascript/webdriver/atoms/fragments:get_appcache_status:chrome",