nightwatchjs / nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
https://nightwatchjs.org
MIT License
11.79k stars 1.31k forks source link

Add `text` as an alias for `getText` command in the new Element API. #4179

Closed Ayush-Vish closed 5 months ago

Ayush-Vish commented 5 months ago

Description

Description

The getText should have the following alias

The getText can be found in the lib/api/web-element/commands directory.

Suggested solution

No response

Alternatives / Workarounds

No response

Additional Information

No response

Ayush-Vish commented 5 months ago

@AutomatedTester Kindly review this PR.