1 | 'use strict';
|
2 |
|
3 | var Alert = require('./lib/alert');
|
4 | var ActiveWindow = require('./lib/activeWindow');
|
5 | var Browser = require('./lib/browser');
|
6 | var Cookie = require('./lib/cookie');
|
7 | var CookieStorage = require('./lib/cookieStorage');
|
8 | var Driver = require('./lib/driver');
|
9 | var Element = require('./lib/element');
|
10 | var Frame = require('./lib/frame');
|
11 | var GlobalMouse = require('./lib/globalMouse');
|
12 | var GlobalTouch = require('./lib/globalTouch');
|
13 | var IME = require('./lib/ime');
|
14 | var Keys = require('./lib/keys');
|
15 | var LocalStorage = require('./lib/localStorage');
|
16 | var LogEntry = require('./lib/logEntry');
|
17 | var Mouse = require('./lib/mouse');
|
18 | var Navigator = require('./lib/navigator');
|
19 | var Session = require('./lib/session');
|
20 | var SessionStorage = require('./lib/sessionStorage');
|
21 | var Status = require('./lib/status');
|
22 | var TimeOut = require('./lib/timeOut');
|
23 | var Touch = require('./lib/touch');
|
24 | var WindowHandler = require('./lib/window');
|
25 |
|
26 | module.exports = Cabbie;
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | function Cabbie(remote, capabilities, options) {
|
48 | return new Driver(remote, capabilities, options);
|
49 | }
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 | Cabbie.ActiveWindow = ActiveWindow;
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 | Cabbie.Alert = Alert;
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 | Cabbie.Browser = Browser;
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 | Cabbie.Cookie = Cookie;
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 | Cabbie.CookieStorage = CookieStorage;
|
81 |
|
82 |
|
83 |
|
84 |
|
85 |
|
86 | Cabbie.Driver = Driver;
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 | Cabbie.Element = Element;
|
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 | Cabbie.Frame = Frame;
|
99 |
|
100 |
|
101 |
|
102 |
|
103 |
|
104 | Cabbie.GlobalMouse = GlobalMouse;
|
105 |
|
106 |
|
107 |
|
108 |
|
109 |
|
110 | Cabbie.GlobalTouch = GlobalTouch;
|
111 |
|
112 |
|
113 |
|
114 |
|
115 |
|
116 | Cabbie.IME = IME;
|
117 |
|
118 |
|
119 |
|
120 |
|
121 |
|
122 | Cabbie.Keys = Keys;
|
123 |
|
124 |
|
125 |
|
126 |
|
127 |
|
128 | Cabbie.LocalStorage = LocalStorage;
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
|
134 | Cabbie.LogEntry = LogEntry;
|
135 |
|
136 |
|
137 |
|
138 |
|
139 |
|
140 | Cabbie.Mouse = Mouse;
|
141 |
|
142 |
|
143 |
|
144 |
|
145 |
|
146 | Cabbie.Navigator = Navigator;
|
147 |
|
148 |
|
149 |
|
150 |
|
151 |
|
152 | Cabbie.Session = Session;
|
153 |
|
154 |
|
155 |
|
156 |
|
157 |
|
158 | Cabbie.SessionStorage = SessionStorage;
|
159 |
|
160 |
|
161 |
|
162 |
|
163 |
|
164 | Cabbie.Status = Status;
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 | Cabbie.TimeOut = TimeOut;
|
171 |
|
172 |
|
173 |
|
174 |
|
175 |
|
176 | Cabbie.Touch = Touch;
|
177 |
|
178 |
|
179 |
|
180 |
|
181 |
|
182 | Cabbie.WindowHandler = WindowHandler;
|