CasperJS is no longer actively maintained. Navigation scripting and testing utility for PhantomJS and SlimerJS
download.error
. A new lifecycle event for you to tie into. Thanks @TheGrandPackard #1647getPlainText()
(#1590)stop.options.data
(#1148,#1419)page.resource.*
on slimer 0.10 (#1550)wait*
(#1488,#1493)assertAllVisible
(#1224)step.bypasses
event (#1447)openUrl
(#1434)fillForm
chainable (#1256)Same as for 1.1-beta5: three of the self-tests fail reproducibly on Windows (#1427) (the same binary passes mono-based checks on travis, linux, OS/X)
This is a follow up release for 1.1-beta4 with two important fixes for Windows users
Because the last pre-release is over 2 years old, the list of changes and bug-fixes in this pre-release is rather long (362 commits ever since). A special thanks goes to all contributors making this update possible!
Amongst others the most important change is the long awaited support for PhantomJS 2 that was extended to the official PhantomJS 2.1.1 release recently.
Apart from that this pre-release integrates the following PRs for important bugfixes and changes:
id
having the value exports
(#794)inline-block
elements (#855)back()
and forward()
calls (#924, #929, #930)--fail-fast
option preventing emission of fail events (#923)resourceExists()
: use string matching instead of regexp (#1033)prependListener()
(#766)fillLabels()
(#948)rightclick()
(#1169)waitForAlert()
(#748)sendKeys()
works on content-editable elements (#620)casper.open()
(#832) with charset info (#840)casper.click()
(#850)email
(#860)select-multiple
(#862)javascriptEnabled
before calling casper.evaluate()
(#892)fetchText()
can fetch values from input elements (#1079)assertNotVisible()
(#1124)--concise
option (#1110)Content-Type
in response (#1071)waitFor
timeout exception (#1183)thenEvaluate
in thenOpenAndEvaluate
(#1211)fetchText()
return empty string on empty elements (#1217)formfill()
to find select element values by their option elements text as well (#1346)formfill()
failing on numerical input values (#1289)--disk-cache-path
option (#1380)Function.bind shim
(#1404)