When I view the documentation on https://nightwatchjs.org/guide/writing-tests/introduction.html it displays browser.element.find('selector').assert.valueEquals('text'); as a valid way of asserting the text of an element, but when I try to use it I am informed Property 'valueEquals' does not exist on type 'ElementAssertions'
Description of the bug/issue
When I view the documentation on https://nightwatchjs.org/guide/writing-tests/introduction.html it displays
browser.element.find('selector').assert.valueEquals('text');
as a valid way of asserting the text of an element, but when I try to use it I am informedProperty 'valueEquals' does not exist on type 'ElementAssertions'
Steps to reproduce
Try to use the included assertion examples on https://nightwatchjs.org/guide/writing-tests/introduction.html in a Nightwatch TypeScript project.
Sample test
Command to run
Verbose Output
Nightwatch Configuration
Nightwatch.js Version
3.6.1
Node Version
No response
Browser
No response
Operating System
No response
Additional Information
No response