1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
Commit graph

32 commits

Author SHA1 Message Date
Jon Leighton
6c2f9b6026 Use any available port
This reverts the default port setting to how it was before the 1.0
release. However the `:port` configuration option is still available for
those who need to set it to something static.

The reason for changing this back is that I have seend EADDRINUSE errors
crop up and in general had second thoughts on whether it was a good idea
to use a static port number as the default. I think it's much better and
less error prone to use any available port by default but to allow the
port number to be configured in the small number of cases where that's
necessary.

Closes #174.

Conflicts:
	README.md
2012-10-15 22:49:16 +01:00
Jon Leighton
57f039ec17 Support for window switching. Fixes #21. 2012-10-07 00:19:52 +01:00
Jon Leighton
f96d1533e1 use 1.8-compatible syntax 💣 2012-10-06 23:06:39 +01:00
Jon Leighton
c664c607cb Implement cookie manipulation. Closes #12. 2012-10-06 22:56:51 +01:00
Jon Leighton
cdf1f17085 Support for the page.response_headers API 2012-10-06 19:27:35 +01:00
Jon Leighton
75c63bbfd0 Custom HTTP headers apply to all requests. Fixes #149. 2012-10-06 18:49:22 +01:00
Jon Leighton
78ce1cca31 Make the port used deterministic
Fixes #111
2012-10-06 16:57:46 +01:00
Mike Perham
84b6b9b2ca Add resize_window alias for compatibility
Makes it easier for people porting from capybara-webkit.
2012-09-22 19:54:48 -07:00
Dmitriy Nesteryuk
8aa20a51df added code to raise an exception when the inspector is used without properly launched driver 2012-07-24 23:37:07 +03:00
Dmitriy Nesteryuk
9a9a4b6893 Status code support. Closes #37. 2012-07-17 23:37:45 +01:00
Jon Leighton
45c8b4396d use an options hash 2012-07-11 20:25:17 +01:00
Jon Leighton
e270c89d1d move inspector options into phantomjs_options 2012-07-11 20:14:17 +01:00
Jon Leighton
ad7e7b9efa fix steps and tidy a bit 2012-07-11 20:05:10 +01:00
wynst
2a9902d8c4 add phantomjs command-line options 2012-07-09 21:36:50 +07:00
Jon Leighton
fad740f90a Merge pull request #77 from dmcinnes/master
Capture outgoing requests
2012-07-02 15:39:15 -07:00
Sumit Shah
6ac4078b3a support setting http request headers 2012-07-02 15:07:33 -07:00
Doug McInnes
fb9eac669d use separate request and response objects 2012-06-14 11:50:26 -07:00
Tom Stuart
74c79ca77e Let Capybara's retry recognise ClickFailed
This should fix issue #60 for cases not identified by previous fix.
2012-06-08 10:31:08 +01:00
Doug McInnes
23dbebfe52 keep track of responses as well 2012-06-06 16:57:06 -07:00
Doug McInnes
24e4c2496c keep track of outgoing connections
Used PhantomJS's onResourceRequested callback to capture requests.
Added driver requested_resources() endpoint that returns an array of
outgoing page requests and accepts an optional filter.
2012-06-06 10:57:49 -07:00
Tom Stuart
0db1eb9767 Allow passing desired browser size as an option 2012-06-04 17:18:25 +02:00
Tom Stuart
7d6cde7f42 Rename raise_errors -> js_errors
Resolves an ambiguity
2012-05-31 13:36:31 +01:00
John Griffin
1a53f666eb add an option to prevent re-raising of Javascript errors in Ruby 2012-05-31 12:46:48 +01:00
Jon Leighton
a67f81437e Node references must include the page id as well. Fixes #39. 2012-03-10 13:51:59 +00:00
Jon Leighton
9f84f31b8f Add Driver#quit. Closes #24. 2012-02-29 13:51:17 +00:00
Jon Leighton
84feb34e16 refactoring 2012-02-29 12:32:13 +00:00
Jon Leighton
8d9b224de1 Extract inspector code to a separate class. Implement Driver#debug and Driver#pause methods for using inspector. 2012-02-29 00:02:43 +00:00
Jon Leighton
91d6198523 Experimental remote debugger support. 2012-02-25 12:47:18 +00:00
Jon Leighton
e6c36a4aea Capybara master fixes 2012-01-10 00:25:30 +00:00
Jon Leighton
fb497cb328 Add support for choosing between rendering the whole page or just part of it. 2011-10-31 23:04:02 +00:00
Jon Leighton
b18225d716 Add a resize command to allow users to resize the browser window 2011-10-31 22:23:52 +00:00
Jon Leighton
76fe32debd omg 2011-10-27 23:34:14 +01:00