nightwatch-docs icon indicating copy to clipboard operation
nightwatch-docs copied to clipboard

Add documentation for new Element API

Open garg3133 opened this issue 11 months ago • 1 comments

Right now, the API doc page meant for the Element API contains details about the global element() API instead of the new Element API.

So, we'd need to write a new page for the new Element API and replace the above page with it.

The page should contain an introduction of the new Element API, why it was introduced, its benefits over the older Element API and some examples on how to use it (how to use find* commands over browser.element, which further can be chained with action commands )like click(), sendKeys(), etc.) or get commands (like getText, etc.), and also how to use chainable assert over the get commands).

garg3133 avatar Mar 12 '24 14:03 garg3133

I want to work on this issue. Can you guide me on how to proceed? From the beginning, I have had this doubt about why it was introduced and what its benefits are over the older Element API.

nothuman2718 avatar Mar 20 '24 20:03 nothuman2718