Wendigo 2.0.0
This release contain breaking changes with previous releases. Most of the API is compatible, but some behavior is changed. Keep in mind the following if updating from an older version:
- Browser.queryXPath removed
- Removed clearRequestMocks option. Some behavior related to request mocks may change
- Get Cookie now return an object instead of a value
- Changes in plugin system. Dropped support for not assertions
- Removed deprecated methods assert.cookie, assert.webworker and assert.not.cookie
- Browser.request.all changed into a function
- WaitForRequest/Response and waitForNextRequest/Response moved to requests module
- Browser.assert.request renamed to browser.assert.requests
- Assertions now always return promises
Changelog
- Wendigo refactored into TypeScript
- Browser.query and browser.queryAll now support XPath selectors
- Browser.queryXPath removed
- Removed clearRequestMocks option, mocks are only removed on browser close
- Cookies now support extra cookie parameters
- XPath improvements with axis support and minor fixes
- Added new methods to DomElement class
- More support for XPath and DOMElement selectors
- Complex subqueries with multiple parent elements supported
- Changes in plugin system. Dropped support for not assertions
- Removed deprecated methods assert.cookie, assert.webworker and assert.not.cookie
- Browser.request.all changed into a function to make it consistent with other modules
- WaitForRequest/Response and waitForNextRequest/Response moved to requests module
- Browser.assert.request renamed browser.assert.requests to keep consistency
- Assertions now always return promises for consistency
- Fixed bug where settings on dialog module where not being updated properly
- Fixed bug where mocks with querystring where not being updated properly
- Removed dependency mixwith
- Dependencies updated
- Puppeteer updated to 1.15
- Readme updated and several minor fixes in it