capybara-webkit 0.12.1 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/GOALS +9 -0
- data/Gemfile.lock +15 -12
- data/LICENSE +1 -1
- data/NEWS.md +18 -0
- data/README.md +81 -2
- data/capybara-webkit.gemspec +1 -1
- data/lib/capybara/webkit.rb +11 -6
- data/lib/capybara/{driver/webkit → webkit}/browser.rb +90 -4
- data/lib/capybara/{driver/webkit → webkit}/connection.rb +48 -47
- data/lib/capybara/{driver/webkit → webkit}/cookie_jar.rb +1 -1
- data/lib/capybara/webkit/driver.rb +186 -0
- data/lib/capybara/webkit/errors.rb +10 -0
- data/lib/capybara/{driver/webkit → webkit}/node.rb +12 -4
- data/lib/capybara/{driver/webkit → webkit}/socket_debugger.rb +4 -1
- data/lib/capybara/{driver/webkit → webkit}/version.rb +1 -1
- data/lib/capybara_webkit_builder.rb +17 -3
- data/spec/browser_spec.rb +95 -7
- data/spec/connection_spec.rb +16 -5
- data/spec/cookie_jar_spec.rb +3 -3
- data/spec/driver_rendering_spec.rb +19 -26
- data/spec/driver_resize_window_spec.rb +3 -3
- data/spec/driver_spec.rb +1200 -822
- data/spec/integration/driver_spec.rb +4 -3
- data/spec/selenium_compatibility_spec.rb +49 -0
- data/spec/spec_helper.rb +14 -6
- data/spec/support/app_runner.rb +94 -0
- data/src/Authenticate.cpp +18 -0
- data/src/Authenticate.h +12 -0
- data/src/Body.h +3 -5
- data/src/ClearCookies.cpp +3 -5
- data/src/ClearCookies.h +3 -5
- data/src/ClearPromptText.cpp +11 -0
- data/src/ClearPromptText.h +9 -0
- data/src/Command.cpp +4 -15
- data/src/Command.h +3 -14
- data/src/CommandFactory.cpp +20 -6
- data/src/CommandFactory.h +3 -2
- data/src/CommandParser.cpp +1 -1
- data/src/Connection.cpp +22 -21
- data/src/Connection.h +5 -6
- data/src/ConsoleMessages.cpp +2 -1
- data/src/ConsoleMessages.h +3 -5
- data/src/CurrentUrl.cpp +9 -48
- data/src/CurrentUrl.h +8 -8
- data/src/EnableLogging.cpp +10 -0
- data/src/EnableLogging.h +12 -0
- data/src/Evaluate.cpp +2 -1
- data/src/Evaluate.h +3 -5
- data/src/Execute.cpp +2 -1
- data/src/Execute.h +3 -5
- data/src/Find.cpp +3 -2
- data/src/Find.h +3 -5
- data/src/FrameFocus.cpp +3 -2
- data/src/FrameFocus.h +3 -4
- data/src/GetCookies.cpp +3 -4
- data/src/GetCookies.h +3 -5
- data/src/GetTimeout.cpp +9 -0
- data/src/GetTimeout.h +11 -0
- data/src/GetWindowHandle.cpp +11 -0
- data/src/GetWindowHandle.h +10 -0
- data/src/GetWindowHandles.cpp +20 -0
- data/src/GetWindowHandles.h +10 -0
- data/src/Header.cpp +2 -1
- data/src/Header.h +3 -5
- data/src/Headers.cpp +8 -2
- data/src/Headers.h +3 -5
- data/src/IgnoreSslErrors.cpp +4 -3
- data/src/IgnoreSslErrors.h +3 -5
- data/src/JavascriptAlertMessages.cpp +10 -0
- data/src/JavascriptAlertMessages.h +9 -0
- data/src/JavascriptConfirmMessages.cpp +10 -0
- data/src/JavascriptConfirmMessages.h +9 -0
- data/src/JavascriptInvocation.cpp +1 -1
- data/src/JavascriptInvocation.h +1 -1
- data/src/JavascriptPromptMessages.cpp +10 -0
- data/src/JavascriptPromptMessages.h +9 -0
- data/src/NetworkAccessManager.cpp +38 -5
- data/src/NetworkAccessManager.h +20 -0
- data/src/Node.cpp +6 -1
- data/src/Node.h +4 -5
- data/src/NullCommand.cpp +5 -2
- data/src/NullCommand.h +4 -3
- data/src/PageLoadingCommand.cpp +12 -7
- data/src/PageLoadingCommand.h +6 -9
- data/src/Render.cpp +2 -1
- data/src/Render.h +3 -5
- data/src/RequestedUrl.cpp +2 -1
- data/src/RequestedUrl.h +3 -5
- data/src/Reset.cpp +3 -17
- data/src/Reset.h +3 -8
- data/src/ResizeWindow.cpp +2 -1
- data/src/ResizeWindow.h +3 -5
- data/src/Response.cpp +4 -0
- data/src/Response.h +1 -0
- data/src/Server.cpp +2 -3
- data/src/Server.h +0 -2
- data/src/SetConfirmAction.cpp +11 -0
- data/src/SetConfirmAction.h +9 -0
- data/src/SetCookie.cpp +3 -4
- data/src/SetCookie.h +3 -5
- data/src/SetPromptAction.cpp +11 -0
- data/src/SetPromptAction.h +9 -0
- data/src/SetPromptText.cpp +11 -0
- data/src/SetPromptText.h +9 -0
- data/src/SetProxy.cpp +2 -1
- data/src/SetProxy.h +3 -5
- data/src/SetSkipImageLoading.cpp +12 -0
- data/src/SetSkipImageLoading.h +9 -0
- data/src/SetTimeout.cpp +19 -0
- data/src/SetTimeout.h +9 -0
- data/src/SocketCommand.cpp +21 -0
- data/src/SocketCommand.h +29 -0
- data/src/Source.cpp +3 -2
- data/src/Source.h +3 -4
- data/src/Status.cpp +2 -1
- data/src/Status.h +3 -5
- data/src/TimeoutCommand.cpp +69 -0
- data/src/TimeoutCommand.h +41 -0
- data/src/UnsupportedContentHandler.cpp +11 -17
- data/src/UnsupportedContentHandler.h +5 -3
- data/src/Url.cpp +2 -1
- data/src/Url.h +3 -5
- data/src/Visit.cpp +3 -2
- data/src/Visit.h +3 -5
- data/src/WebPage.cpp +129 -44
- data/src/WebPage.h +37 -11
- data/src/WebPageManager.cpp +127 -0
- data/src/WebPageManager.h +59 -0
- data/src/WindowFocus.cpp +32 -0
- data/src/WindowFocus.h +15 -0
- data/src/body.cpp +2 -1
- data/src/capybara.js +38 -10
- data/src/find_command.h +17 -2
- data/src/main.cpp +0 -2
- data/src/webkit_server.pro +36 -0
- data/templates/Command.cpp +2 -4
- data/templates/Command.h +3 -3
- metadata +106 -27
- data/ChangeLog +0 -70
- data/lib/capybara/driver/webkit.rb +0 -136
data/src/find_command.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#define CHECK_COMMAND(expectedName) \
|
2
2
|
if (strcmp(#expectedName, name) == 0) { \
|
3
|
-
return new expectedName(
|
3
|
+
return new expectedName(m_manager, arguments, this); \
|
4
4
|
}
|
5
5
|
|
6
6
|
CHECK_COMMAND(Visit)
|
@@ -20,10 +20,25 @@ CHECK_COMMAND(Headers)
|
|
20
20
|
CHECK_COMMAND(SetCookie)
|
21
21
|
CHECK_COMMAND(ClearCookies)
|
22
22
|
CHECK_COMMAND(GetCookies)
|
23
|
-
CHECK_COMMAND(Headers)
|
24
23
|
CHECK_COMMAND(SetProxy)
|
25
24
|
CHECK_COMMAND(ConsoleMessages)
|
26
25
|
CHECK_COMMAND(RequestedUrl)
|
27
26
|
CHECK_COMMAND(CurrentUrl)
|
28
27
|
CHECK_COMMAND(ResizeWindow)
|
29
28
|
CHECK_COMMAND(IgnoreSslErrors)
|
29
|
+
CHECK_COMMAND(SetSkipImageLoading)
|
30
|
+
CHECK_COMMAND(WindowFocus)
|
31
|
+
CHECK_COMMAND(GetWindowHandles)
|
32
|
+
CHECK_COMMAND(GetWindowHandle)
|
33
|
+
CHECK_COMMAND(Authenticate)
|
34
|
+
CHECK_COMMAND(EnableLogging)
|
35
|
+
CHECK_COMMAND(SetConfirmAction)
|
36
|
+
CHECK_COMMAND(SetPromptAction)
|
37
|
+
CHECK_COMMAND(SetPromptText)
|
38
|
+
CHECK_COMMAND(ClearPromptText)
|
39
|
+
CHECK_COMMAND(JavascriptAlertMessages)
|
40
|
+
CHECK_COMMAND(JavascriptConfirmMessages)
|
41
|
+
CHECK_COMMAND(JavascriptPromptMessages)
|
42
|
+
CHECK_COMMAND(GetTimeout)
|
43
|
+
CHECK_COMMAND(SetTimeout)
|
44
|
+
|
data/src/main.cpp
CHANGED
data/src/webkit_server.pro
CHANGED
@@ -2,6 +2,15 @@ TEMPLATE = app
|
|
2
2
|
TARGET = webkit_server
|
3
3
|
DESTDIR = .
|
4
4
|
HEADERS = \
|
5
|
+
EnableLogging.h \
|
6
|
+
Authenticate.h \
|
7
|
+
SetConfirmAction.h \
|
8
|
+
SetPromptAction.h \
|
9
|
+
SetPromptText.h \
|
10
|
+
ClearPromptText.h \
|
11
|
+
JavascriptAlertMessages.h \
|
12
|
+
JavascriptConfirmMessages.h \
|
13
|
+
JavascriptPromptMessages.h \
|
5
14
|
IgnoreSslErrors.h \
|
6
15
|
ResizeWindow.h \
|
7
16
|
CurrentUrl.h \
|
@@ -11,6 +20,7 @@ HEADERS = \
|
|
11
20
|
Server.h \
|
12
21
|
Connection.h \
|
13
22
|
Command.h \
|
23
|
+
SocketCommand.h \
|
14
24
|
Visit.h \
|
15
25
|
Find.h \
|
16
26
|
Reset.h \
|
@@ -38,8 +48,25 @@ HEADERS = \
|
|
38
48
|
SetProxy.h \
|
39
49
|
NullCommand.h \
|
40
50
|
PageLoadingCommand.h \
|
51
|
+
SetSkipImageLoading.h \
|
52
|
+
WebPageManager.h \
|
53
|
+
WindowFocus.h \
|
54
|
+
GetWindowHandles.h \
|
55
|
+
GetWindowHandle.h \
|
56
|
+
GetTimeout.h \
|
57
|
+
SetTimeout.h \
|
58
|
+
TimeoutCommand.h \
|
41
59
|
|
42
60
|
SOURCES = \
|
61
|
+
EnableLogging.cpp \
|
62
|
+
Authenticate.cpp \
|
63
|
+
SetConfirmAction.cpp \
|
64
|
+
SetPromptAction.cpp \
|
65
|
+
SetPromptText.cpp \
|
66
|
+
ClearPromptText.cpp \
|
67
|
+
JavascriptAlertMessages.cpp \
|
68
|
+
JavascriptConfirmMessages.cpp \
|
69
|
+
JavascriptPromptMessages.cpp \
|
43
70
|
IgnoreSslErrors.cpp \
|
44
71
|
ResizeWindow.cpp \
|
45
72
|
CurrentUrl.cpp \
|
@@ -50,6 +77,7 @@ SOURCES = \
|
|
50
77
|
Server.cpp \
|
51
78
|
Connection.cpp \
|
52
79
|
Command.cpp \
|
80
|
+
SocketCommand.cpp \
|
53
81
|
Visit.cpp \
|
54
82
|
Find.cpp \
|
55
83
|
Reset.cpp \
|
@@ -77,6 +105,14 @@ SOURCES = \
|
|
77
105
|
SetProxy.cpp \
|
78
106
|
NullCommand.cpp \
|
79
107
|
PageLoadingCommand.cpp \
|
108
|
+
SetTimeout.cpp \
|
109
|
+
GetTimeout.cpp \
|
110
|
+
SetSkipImageLoading.cpp \
|
111
|
+
WebPageManager.cpp \
|
112
|
+
WindowFocus.cpp \
|
113
|
+
GetWindowHandles.cpp \
|
114
|
+
GetWindowHandle.cpp \
|
115
|
+
TimeoutCommand.cpp \
|
80
116
|
|
81
117
|
RESOURCES = webkit_server.qrc
|
82
118
|
QT += network webkit
|
data/templates/Command.cpp
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
#include "NAME.h"
|
2
2
|
#include "WebPage.h"
|
3
3
|
|
4
|
-
NAME::NAME(
|
4
|
+
NAME::NAME(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
|
5
5
|
}
|
6
6
|
|
7
|
-
void NAME::start(
|
8
|
-
Q_UNUSED(arguments);
|
7
|
+
void NAME::start() {
|
9
8
|
}
|
10
|
-
|
data/templates/Command.h
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
class WebPage;
|
4
4
|
|
5
|
-
class NAME : public
|
5
|
+
class NAME : public SocketCommand {
|
6
6
|
Q_OBJECT
|
7
7
|
|
8
8
|
public:
|
9
|
-
NAME(
|
10
|
-
virtual void start(
|
9
|
+
NAME(WebPageManager *, QStringList &arguments, QObject *parent = 0);
|
10
|
+
virtual void start();
|
11
11
|
};
|
12
12
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-webkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,11 +13,11 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-
|
16
|
+
date: 2012-11-09 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: capybara
|
20
|
-
requirement:
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
21
21
|
none: false
|
22
22
|
requirements:
|
23
23
|
- - ! '>='
|
@@ -28,10 +28,18 @@ dependencies:
|
|
28
28
|
version: '1.2'
|
29
29
|
type: :runtime
|
30
30
|
prerelease: false
|
31
|
-
version_requirements:
|
31
|
+
version_requirements: !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ! '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.0
|
37
|
+
- - <
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.2'
|
32
40
|
- !ruby/object:Gem::Dependency
|
33
41
|
name: json
|
34
|
-
requirement:
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
35
43
|
none: false
|
36
44
|
requirements:
|
37
45
|
- - ! '>='
|
@@ -39,10 +47,15 @@ dependencies:
|
|
39
47
|
version: '0'
|
40
48
|
type: :runtime
|
41
49
|
prerelease: false
|
42
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
43
56
|
- !ruby/object:Gem::Dependency
|
44
57
|
name: rspec
|
45
|
-
requirement:
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
46
59
|
none: false
|
47
60
|
requirements:
|
48
61
|
- - ~>
|
@@ -50,10 +63,15 @@ dependencies:
|
|
50
63
|
version: 2.6.0
|
51
64
|
type: :development
|
52
65
|
prerelease: false
|
53
|
-
version_requirements:
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ~>
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 2.6.0
|
54
72
|
- !ruby/object:Gem::Dependency
|
55
73
|
name: sinatra
|
56
|
-
requirement:
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
57
75
|
none: false
|
58
76
|
requirements:
|
59
77
|
- - ! '>='
|
@@ -61,10 +79,15 @@ dependencies:
|
|
61
79
|
version: '0'
|
62
80
|
type: :development
|
63
81
|
prerelease: false
|
64
|
-
version_requirements:
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
65
88
|
- !ruby/object:Gem::Dependency
|
66
89
|
name: mini_magick
|
67
|
-
requirement:
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
68
91
|
none: false
|
69
92
|
requirements:
|
70
93
|
- - ! '>='
|
@@ -72,10 +95,15 @@ dependencies:
|
|
72
95
|
version: '0'
|
73
96
|
type: :development
|
74
97
|
prerelease: false
|
75
|
-
version_requirements:
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
76
104
|
- !ruby/object:Gem::Dependency
|
77
105
|
name: rake
|
78
|
-
requirement:
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
79
107
|
none: false
|
80
108
|
requirements:
|
81
109
|
- - ! '>='
|
@@ -83,10 +111,15 @@ dependencies:
|
|
83
111
|
version: '0'
|
84
112
|
type: :development
|
85
113
|
prerelease: false
|
86
|
-
version_requirements:
|
114
|
+
version_requirements: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ! '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
87
120
|
- !ruby/object:Gem::Dependency
|
88
121
|
name: appraisal
|
89
|
-
requirement:
|
122
|
+
requirement: !ruby/object:Gem::Requirement
|
90
123
|
none: false
|
91
124
|
requirements:
|
92
125
|
- - ~>
|
@@ -94,7 +127,12 @@ dependencies:
|
|
94
127
|
version: 0.4.0
|
95
128
|
type: :development
|
96
129
|
prerelease: false
|
97
|
-
version_requirements:
|
130
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ~>
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 0.4.0
|
98
136
|
description:
|
99
137
|
email: support@thoughtbot.com
|
100
138
|
executables: []
|
@@ -106,7 +144,7 @@ files:
|
|
106
144
|
- .rspec
|
107
145
|
- Appraisals
|
108
146
|
- CONTRIBUTING.md
|
109
|
-
-
|
147
|
+
- GOALS
|
110
148
|
- Gemfile
|
111
149
|
- Gemfile.lock
|
112
150
|
- LICENSE
|
@@ -121,15 +159,16 @@ files:
|
|
121
159
|
- gemfiles/1.1.gemfile
|
122
160
|
- gemfiles/1.1.gemfile.lock
|
123
161
|
- lib/capybara-webkit.rb
|
124
|
-
- lib/capybara/driver/webkit.rb
|
125
|
-
- lib/capybara/driver/webkit/browser.rb
|
126
|
-
- lib/capybara/driver/webkit/connection.rb
|
127
|
-
- lib/capybara/driver/webkit/cookie_jar.rb
|
128
|
-
- lib/capybara/driver/webkit/node.rb
|
129
|
-
- lib/capybara/driver/webkit/socket_debugger.rb
|
130
|
-
- lib/capybara/driver/webkit/version.rb
|
131
162
|
- lib/capybara/webkit.rb
|
163
|
+
- lib/capybara/webkit/browser.rb
|
164
|
+
- lib/capybara/webkit/connection.rb
|
165
|
+
- lib/capybara/webkit/cookie_jar.rb
|
166
|
+
- lib/capybara/webkit/driver.rb
|
167
|
+
- lib/capybara/webkit/errors.rb
|
132
168
|
- lib/capybara/webkit/matchers.rb
|
169
|
+
- lib/capybara/webkit/node.rb
|
170
|
+
- lib/capybara/webkit/socket_debugger.rb
|
171
|
+
- lib/capybara/webkit/version.rb
|
133
172
|
- lib/capybara_webkit_builder.rb
|
134
173
|
- spec/browser_spec.rb
|
135
174
|
- spec/capybara_webkit_builder_spec.rb
|
@@ -140,11 +179,17 @@ files:
|
|
140
179
|
- spec/driver_spec.rb
|
141
180
|
- spec/integration/driver_spec.rb
|
142
181
|
- spec/integration/session_spec.rb
|
182
|
+
- spec/selenium_compatibility_spec.rb
|
143
183
|
- spec/self_signed_ssl_cert.rb
|
144
184
|
- spec/spec_helper.rb
|
185
|
+
- spec/support/app_runner.rb
|
186
|
+
- src/Authenticate.cpp
|
187
|
+
- src/Authenticate.h
|
145
188
|
- src/Body.h
|
146
189
|
- src/ClearCookies.cpp
|
147
190
|
- src/ClearCookies.h
|
191
|
+
- src/ClearPromptText.cpp
|
192
|
+
- src/ClearPromptText.h
|
148
193
|
- src/Command.cpp
|
149
194
|
- src/Command.h
|
150
195
|
- src/CommandFactory.cpp
|
@@ -157,6 +202,8 @@ files:
|
|
157
202
|
- src/ConsoleMessages.h
|
158
203
|
- src/CurrentUrl.cpp
|
159
204
|
- src/CurrentUrl.h
|
205
|
+
- src/EnableLogging.cpp
|
206
|
+
- src/EnableLogging.h
|
160
207
|
- src/Evaluate.cpp
|
161
208
|
- src/Evaluate.h
|
162
209
|
- src/Execute.cpp
|
@@ -167,14 +214,26 @@ files:
|
|
167
214
|
- src/FrameFocus.h
|
168
215
|
- src/GetCookies.cpp
|
169
216
|
- src/GetCookies.h
|
217
|
+
- src/GetTimeout.cpp
|
218
|
+
- src/GetTimeout.h
|
219
|
+
- src/GetWindowHandle.cpp
|
220
|
+
- src/GetWindowHandle.h
|
221
|
+
- src/GetWindowHandles.cpp
|
222
|
+
- src/GetWindowHandles.h
|
170
223
|
- src/Header.cpp
|
171
224
|
- src/Header.h
|
172
225
|
- src/Headers.cpp
|
173
226
|
- src/Headers.h
|
174
227
|
- src/IgnoreSslErrors.cpp
|
175
228
|
- src/IgnoreSslErrors.h
|
229
|
+
- src/JavascriptAlertMessages.cpp
|
230
|
+
- src/JavascriptAlertMessages.h
|
231
|
+
- src/JavascriptConfirmMessages.cpp
|
232
|
+
- src/JavascriptConfirmMessages.h
|
176
233
|
- src/JavascriptInvocation.cpp
|
177
234
|
- src/JavascriptInvocation.h
|
235
|
+
- src/JavascriptPromptMessages.cpp
|
236
|
+
- src/JavascriptPromptMessages.h
|
178
237
|
- src/NetworkAccessManager.cpp
|
179
238
|
- src/NetworkAccessManager.h
|
180
239
|
- src/NetworkCookieJar.cpp
|
@@ -197,14 +256,28 @@ files:
|
|
197
256
|
- src/Response.h
|
198
257
|
- src/Server.cpp
|
199
258
|
- src/Server.h
|
259
|
+
- src/SetConfirmAction.cpp
|
260
|
+
- src/SetConfirmAction.h
|
200
261
|
- src/SetCookie.cpp
|
201
262
|
- src/SetCookie.h
|
263
|
+
- src/SetPromptAction.cpp
|
264
|
+
- src/SetPromptAction.h
|
265
|
+
- src/SetPromptText.cpp
|
266
|
+
- src/SetPromptText.h
|
202
267
|
- src/SetProxy.cpp
|
203
268
|
- src/SetProxy.h
|
269
|
+
- src/SetSkipImageLoading.cpp
|
270
|
+
- src/SetSkipImageLoading.h
|
271
|
+
- src/SetTimeout.cpp
|
272
|
+
- src/SetTimeout.h
|
273
|
+
- src/SocketCommand.cpp
|
274
|
+
- src/SocketCommand.h
|
204
275
|
- src/Source.cpp
|
205
276
|
- src/Source.h
|
206
277
|
- src/Status.cpp
|
207
278
|
- src/Status.h
|
279
|
+
- src/TimeoutCommand.cpp
|
280
|
+
- src/TimeoutCommand.h
|
208
281
|
- src/UnsupportedContentHandler.cpp
|
209
282
|
- src/UnsupportedContentHandler.h
|
210
283
|
- src/Url.cpp
|
@@ -213,6 +286,10 @@ files:
|
|
213
286
|
- src/Visit.h
|
214
287
|
- src/WebPage.cpp
|
215
288
|
- src/WebPage.h
|
289
|
+
- src/WebPageManager.cpp
|
290
|
+
- src/WebPageManager.h
|
291
|
+
- src/WindowFocus.cpp
|
292
|
+
- src/WindowFocus.h
|
216
293
|
- src/body.cpp
|
217
294
|
- src/capybara.js
|
218
295
|
- src/find_command.h
|
@@ -236,7 +313,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
313
|
version: '0'
|
237
314
|
segments:
|
238
315
|
- 0
|
239
|
-
hash:
|
316
|
+
hash: 1143768426363543239
|
240
317
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
318
|
none: false
|
242
319
|
requirements:
|
@@ -245,10 +322,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
322
|
version: '0'
|
246
323
|
segments:
|
247
324
|
- 0
|
248
|
-
hash:
|
325
|
+
hash: 1143768426363543239
|
249
326
|
requirements: []
|
250
327
|
rubyforge_project:
|
251
|
-
rubygems_version: 1.8.
|
328
|
+
rubygems_version: 1.8.24
|
252
329
|
signing_key:
|
253
330
|
specification_version: 3
|
254
331
|
summary: Headless Webkit driver for Capybara
|
@@ -262,5 +339,7 @@ test_files:
|
|
262
339
|
- spec/driver_spec.rb
|
263
340
|
- spec/integration/driver_spec.rb
|
264
341
|
- spec/integration/session_spec.rb
|
342
|
+
- spec/selenium_compatibility_spec.rb
|
265
343
|
- spec/self_signed_ssl_cert.rb
|
266
344
|
- spec/spec_helper.rb
|
345
|
+
- spec/support/app_runner.rb
|
data/ChangeLog
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
2012-03-09 Joe Ferris <jferris@thoughtbot.com>
|
2
|
-
* node.rb, driver_spec.rb: Allow interaction with invisible elements
|
3
|
-
|
4
|
-
2012-03-02 Joe Ferris <jferris@thoughtbot.com>
|
5
|
-
* browser.rb: Use Timeout from stdlib since Capybara.timeout is being removed
|
6
|
-
|
7
|
-
2012-03-02 Matthew Mongeau <halogenandtoast@gmail.com>
|
8
|
-
* capybara_webkit_builder.rb:
|
9
|
-
set LANG to en_US.UTF-8 to prevent string encoding issues during install
|
10
|
-
|
11
|
-
2012-03-02 Marc Schwieterman
|
12
|
-
* Rakefile: pro, find_command, and CommandFactory are more structured
|
13
|
-
|
14
|
-
2012-02-27 Joe Ferris <jferris@thoughtbot.com>
|
15
|
-
* README.md: Fixed broken wiki link
|
16
|
-
|
17
|
-
2012-02-24 Joe Ferris <jferris@thoughtbot.com>
|
18
|
-
* README.md: Update instructions for platform specific installation issues
|
19
|
-
|
20
|
-
2012-02-17 Matthew Mongeau <halogenandtoast@gmail.com>
|
21
|
-
* driver_spec.rb, capybara.js: Send proper keycode during keypress event
|
22
|
-
|
23
|
-
2012-02-17 Matthew Mongeau <halogenandtoast@gmail.com>
|
24
|
-
* ChangeLog, version.rb:
|
25
|
-
Bump to 0.10.0
|
26
|
-
|
27
|
-
2012-02-17 Marc Schwieterman
|
28
|
-
* driver_spec.rb, Reset.cpp, Reset.h: Reset history when resetting session.
|
29
|
-
* driver_spec.rb, webkit.rb, browser.rb, CommandFactory.cpp, CurrentUrl.cpp,
|
30
|
-
CurrentUrl.h, find_command.h, webkit_server.pro:
|
31
|
-
current_url now conforms more closely to the behavior of Selenium.
|
32
|
-
|
33
|
-
2012-02-17 Igor Zubkov <igor.zubkov@gmail.com>
|
34
|
-
* spec_helper.rb: Fix typo.
|
35
|
-
|
36
|
-
2012-02-17 Matthew Mongeau <halogenandtoast@gmail.com>
|
37
|
-
* capybara_webkit_builder.rb, capybara_webkit_builder_spec.rb,
|
38
|
-
spec_helper.rb:
|
39
|
-
Allow for overriding MAKE, QMAKE, and SPEC options via the environment.
|
40
|
-
|
41
|
-
2012-02-12 Jason Petersen <jasonmp85@gmail.com>
|
42
|
-
* driver_spec.rb, node.rb, capybara.js:
|
43
|
-
Selected attribute is no longer removed when selecting/deselecting. Only the
|
44
|
-
property is changed.
|
45
|
-
|
46
|
-
2012-02-09 Gabe Berke-Williams <gabe@thoughtbot.com>
|
47
|
-
* capybara-webkit.gemspec: Note capybara-webkit's usage of Sinatra.
|
48
|
-
|
49
|
-
2012-02-03 Matthew Mongeau <halogenandtoast@gmail.com>
|
50
|
-
* version.rb:
|
51
|
-
Bump to 0.9.0
|
52
|
-
|
53
|
-
2012-02-01 Joe Ferris <jferris@thoughtbot.com>
|
54
|
-
* driver_spec.rb, Connection.cpp, Connection.h:
|
55
|
-
Try to detect when a command starts a page load and wait for it to finish.
|
56
|
-
|
57
|
-
2012-01-27 Matthew Mongeau <halogenandtoast@gmail.com>
|
58
|
-
* driver_spec.rb, capybara.js: Trigger mousedown and mouseup events.
|
59
|
-
* driver_spec.rb, capybara.js: Simulate browser events more closely.
|
60
|
-
|
61
|
-
2012-01-19 Marco Antonio <marcofognog@gmail.com>
|
62
|
-
* node.rb, driver_spec.rb:
|
63
|
-
Raise ElementNotDisplayedError also for #drag_to and #select_option when they are invisible.
|
64
|
-
|
65
|
-
2012-01-18 Marco Antonio <marcofognog@gmail.com>
|
66
|
-
* node.rb, driver_spec.rb:
|
67
|
-
Raise error when an invisible element receives #click so it resembles a browser more closely.
|
68
|
-
|
69
|
-
2012-01-15 Marc Schwieterman
|
70
|
-
* CONTRIBUTING.md: add imagemagick dependency to contributing guide.
|