All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- New API:
boxModel
- New option
waitForNavigation
forclick
method, which allows to wait for a navigation after clicked.
- Enable type checking on methods
evaluate
,evaluateWithReturn
andwaitForEvaluation
.
- Use tuple list to simplify type definitions, which allows type checking for methods like
find
andfindAll
.
- Throw all types of errors which from Rize. (Not only
AssertionError
)
- New API:
awaitPromise
- The
addScriptTag
method now supports passing ES module with an option. - New API:
blur
- Remove
data-rize
attribute after callingfind
orfindAll
orfindByXPath
method.
- New API:
clickLink
- New API:
assertHashIs
- New API:
assertHashBeginsWith
- New option:
browser
- New lifecycle hook:
beforeEachStep
- New lifecycle hook:
afterEachStep
- Added a new parameter for
html
method to determine retrieve inner or outer HTML.
- Hooks now do not support passing arguments to function
- Fix that Jest shows assertion message twice.
- Fix missing
this
pointer ofbeforeExit
hook.
- New lifecycle hook:
beforeExit
- Improved error stack trace
- New option:
defaultNavigationTimeout
- New API:
findWithText
- Better assertions messages.
- Multiple pages support.
- New API:
newPage
- New API:
switchPage
- New API:
pagesCount
closePage
supports closing a page with a given name.
- Add all methods.