CasperJS v1.1-beta4 Release Notes
Release Date: 2016-02-03 // about 8 years ago-
🛠 Important Changes & Bugfixes
🚀 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:
- 🛠 bugfix for an element with an
id
having the valueexports
(#794) - 🛠 bugfix for visibility check on
inline-block
elements (#855) - 🛠 bugfix for non-functional
back()
andforward()
calls (#924, #929, #930) - 🛠 bugfix for
--fail-fast
option preventing emission of fail events (#923) - 🛠 bugfix for
resourceExists()
: use string matching instead of regexp (#1033)
🆕 New features
- 👌 support for
prependListener()
(#766) - 👌 support for
fillLabels()
(#948) - 👌 support for
rightclick()
(#1169) - 👌 support for
waitForAlert()
(#748)
🛠 Minor fixes & enhancements
- XUnit output for gecko (#759)
- 👌 improvements on dotNET support (#758, #765, #770,
sendKeys()
works on content-editable elements (#620)- 👌 support for POSTing JSON objects with
casper.open()
(#832) with charset info (#840) - emit an event in
casper.click()
(#850) - 🏁 mono / Windows: fix for white space in PATH (#851, #1166, #1171)
- ✅ test input type
email
(#860) - 👌 support for input type
select-multiple
(#862) - 👌 support PhantomJS versions without require.paths (#774)
- ✂ remove some spurious fs calls (#879)
- check if
javascriptEnabled
before callingcasper.evaluate()
(#892) - 🔧 make username / password usable in configureHttpAuth (#848)
- 👉 use subprocess.call instead of os.exec to launch casperjs (#96, #875)
- 👉 use this.page.framePlainText for non-HTML content (#926)
- recursive node module lookup (#991)
- ✅ named tests (#967)
- 🏗 temp files for rpm builds on BSD and OS/X (#1020)
- respect page.zoomFactor while capturing (#918)
fetchText()
can fetch values from input elements (#1079)- report correct type in
assertNotVisible()
(#1124) - 👌 support PhantomJS 1.9.8 (#1139, #1140)
- 👌 support SlimerJS 0.9.5 (#1144)
- 🛠 bugfix for
--concise
option (#1110) - 🛠 bugfix for missing
Content-Type
in response (#1071) - 👻 propagate
waitFor
timeout exception (#1183) - 👍 ConEmu color support (#1199)
- 👕 use ESLint instead of JSHint (#1145, #1298, #1400)
- pass extra args to
thenEvaluate
inthenOpenAndEvaluate
(#1211) - 👉 make
fetchText()
return empty string on empty elements (#1217) - 👍 allow
formfill()
to find select element values by their option elements text as well (#1346) - 🛠 bugfix for
formfill()
failing on numerical input values (#1289) - ➕ add
--disk-cache-path
option (#1380) - 🛠 bugfix for the
Function.bind shim
(#1404) - 📚 updates to the documentation (#761, #769, #788, #799, #830, #834, #835, #837, #838, #886, #891, #893, #894, #905, #1002, #1011, #1013, #1019, #1029, #1064, #1073, #1092, #1113, #1120, #1153, #1175, #1209, #1238, #1284, #1315, #1335, #1341, #1370, #1359, #1399, #1403, #1406, #1409)
- 👌 improvements on page layout (#947)
- 👌 improvements on test suites (#984, #1201, #1349, #1369, #1387, #1388)
- 🛠 bugfix for an element with an