Releases: nightwatchjs/nightwatch
Releases · nightwatchjs/nightwatch
v3.8.1
Issue in v3.8.0
Fixes and other updates
- Suppress errors for subsequently chained
.find()
commands by @dikwickley in #4119 - Add new examples for element v3 API. by @dikwickley in #4274
- fix: frame command overlapping with subsequent NW commands. by @garg3133 in #4276
- fix: assertion failure in new Elem API leads to unhandledRejection. by @garg3133 in #4277
- Add null check before rejecting BaseLoader.lastDeferred. by @garg3133 in #4278
- type: Add
driver
property to NightwatchAPI. by @garg3133 in #4279 - Enforce BrowserStack build requests to use port 443. by @garg3133 in #4282
- fix: HTTP request agent does not change on protocol change. by @garg3133 in #4286
Full Changelog: v3.8.0...v3.8.1
v3.8.0
What's Changed
Enhancements
- Add
isPresent
command to new Element API. by @dikwickley in #4216 - Display
describe
name in HTML report. by @garg3133 in #4245 - Expose HttpRequest and cdp modules as utils. by @garg3133 in #4238
Fixes and other updates
- Add types for Appium-specific locate strategies. by @garg3133 in #4240
- Save command result values in Json Report. by @garg3133 in #4258
- Add selector and error line for "staleElementReferenceError" by @pujagani in #4214
- Update selenium to 4.24.1 by @AutomatedTester in #4266
New Contributors
Full Changelog: v3.7.0...v3.8.0
v3.7.0
What's Changed
- Fix selectElement example test. by @garg3133 in #4233
- Update ws dependency by @AutomatedTester in #4235
- Add .check and .uncheck commands for immutable checkbox operations by @reallymello in #4232
Full Changelog: v3.6.4...v3.7.0
v3.6.4
What's Changed
- Fix error in Cucumber when session is closed in a test case itself. by @garg3133 in #4209
- Fix page object demo examples in API docs. by @garg3133 in #4210
- Fixed W3C WebDriver Spec links in API docs. by @Halim-Shams in #4166
- Small modifications in API docs for updating value. by @garg3133 in #4213
- Fix API doc for
setPassword
command. by @garg3133 in #4225 - Fix selector object doc links in API docs. by @garg3133 in #4226
- Allow to enter the DEBUG mode from the pause command. by @garg3133 in #4224
New Contributors
- @Halim-Shams made their first contribution in #4166
Full Changelog: v3.6.3...v3.6.4
v3.6.3
What's Changed
Full Changelog: v3.6.2...v3.6.3
v3.6.2
What's Changed
Fixes
- Fix command args showing as '[object Object]' in reporter. by @garg3133 in #4195
- Fix test not aborting when waitFor commands used with async/await. by @garg3133 in #4196
Dependency updates
- Bump ejs to 3.1.10 by @garg3133 in #4204
- chore: updating mocha from 10.2.0 -> 10.3.0 to remove CVE-2022-3517 by @athammer in #4199
- Bump selenium-webdriver to 4.20.0 by @garg3133 in #4206
New Contributors
Full Changelog: v3.6.1...v3.6.2
v3.6.1
What's Changed
Enhancements
- Add fallback for clear command. by @FireNdIce3 in #4035
(This also impacts thesetValue
andupdateValue
commands which clears the field before sending new values.) - Use
NoSuchElementError
when element not found in new Element API. by @garg3133 in #4193
Fixes
- Fix
debug()
allowing only one command run in async/await mode. by @chikara1608 in #4139 - Fix help messages for iOS errors. by @garg3133 in #4189
- Keep error's original messages for NoSuchElementError. by @garg3133 in #4191
- Update Page Object tests to make sure invalid Page Objects elements are handled by @AutomatedTester in #4187
New aliases in new Element API (for backwards compatibility)
.ariaRole()
as alias for.getAriaRole()
by @Sajantoor in #4159.text()
as alias for.getText()
by @Ayush-Vish in #4180.prop()
as alias for.getProperty()
by @Ayush-Vish in #4174.accessibleName()
as alias for.getAccessibleName()
by @Ayush-Vish in #4178.tagname()
as alias for.getTagName()
by @Ayush-Vish in #4176.css()
and.getCssValue()
as aliases for.getCssProperty()
by @Ayush-Vish in #4168.attr()
and.attribute()
as alias for.getAttribute()
by @Ayush-Vish in #4172- Added aliases for
.find()
and.findAll()
commands in new Element API by @AritraLeo in #4130
New Contributors
- @Sajantoor made their first contribution in #4159
- @Ayush-Vish made their first contribution in #4180
- @AritraLeo made their first contribution in #4130
- @FireNdIce3 made their first contribution in #4035
Full Changelog: v3.6.0...v3.6.1
v3.6.0
What's Changed
- Add
rect()
as alias forgetRect()
command. by @dikwickley in #4128 - Fix
waitUntil
not working with async/await. by @chikara1608 in #4123 - Fix bug that aborts test when waitUntil throws error. #4157 by @chikara1608 in #4161
New Contributors
- @chikara1608 made their first contribution in #4123
Full Changelog: v3.5.0...v3.6.0
v3.5.0
What's Changed
- Add actionable error message for
TimeoutError
in hooks. by @dikwickley in #4053 - Add missing
isSelected
command to new Element API. by @dikwickley in #4038 - Added missing
isEnabled
command in new Element API by @subhajit20 in #4041 - Refactor commands in README. by @konavivekramakrishna in #4076
- Hide password values from raw HTTP logs. by @dikwickley in #4066
- Fix JSDoc example for getText command. by @garg3133 in #4043
- Added missing
isVisible
command in new Element API by @subhajit20 in #4039 - Added
isDisplayed()
as alias toisVisible()
by @uditrajput03 in #4107 - fixed
takeScreenshot
example by @dikwickley in #4121 - allow parallel envs with cucumber by @AutomatedTester in #4095
New Contributors
- @dikwickley made their first contribution in #4053
- @subhajit20 made their first contribution in #4041
- @konavivekramakrishna made their first contribution in #4076
- @uditrajput03 made their first contribution in #4107
Full Changelog: v3.4.1...v3.5.0
v3.4.1
What's Changed
- Warn about two
describe()
s in a single testsuite. by @garg3133 in #4011 - Fix error while exiting Nightwatch using Ctrl+C. by @garg3133 in #4013
- deps: Update
piscina
dependency tov4.3.1
. by @garg3133 in #4020 - Send
POST_SESSION_EVENT
with capabilities on session creation. by @garg3133 in #4024 - Add appium reset command by @AutomatedTester in #4019
- Disable HTML reporter in Cucumber. by @garg3133 in #4025
Full Changelog: v3.4.0...v3.4.1