Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions docs/api/element.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ const instance = await addButtonEl.findElement();
All the existing methods from a regular [WebElement](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html) instance are available. If a method is called, it will be added to the Nightwatch queue accordingly.

**Available element commands:**
- [.clear()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#clear)
- [.click()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#click)
- [.findElement()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#findElement)
- [.findElements()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#findElements)
- [.getAttribute()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getAttribute)
- [.getCssValue()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getCssValue)
- [.clear()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#clear)
- [.click()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#click)
- [.findElement()](https://www.selenium.dev/documentation/webdriver/elements/finders/#first-matching-element)
- [.findElements()](https://www.selenium.dev/documentation/webdriver/elements/finders/#all-matching-elements)
- [.getAttribute()](https://www.selenium.dev/documentation/webdriver/elements/information/#fetching-attributes-or-properties)
- [.getCssValue()](https://www.selenium.dev/documentation/webdriver/elements/information/#size-and-position)
- [.getDriver()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getDriver)
- [.getId()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getId)
- [.getRect()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getRect)
- [.getTagName()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getTagName)
- [.getText()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getText)
- [.isDisplayed()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#isDisplayed)
- [.isEnabled()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#isEnabled)
- [.isSelected()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#isSelected)
- [.sendKeys()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#sendKeys)
- [.submit()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#submit)
- [.takeScreenshot()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#takeScreenshot)
- [.getRect()](https://www.selenium.dev/documentation/webdriver/elements/information/#size-and-position)
- [.getTagName()](https://www.selenium.dev/documentation/webdriver/elements/information/#tag-name)
- [.getText()](https://www.selenium.dev/documentation/webdriver/elements/information/#text-content)
- [.isDisplayed()](https://www.selenium.dev/documentation/webdriver/elements/information/#is-displayed)
- [.isEnabled()](https://www.selenium.dev/documentation/webdriver/elements/information/#is-enabled)
- [.isSelected()](https://www.selenium.dev/documentation/webdriver/elements/information/#is-selected)
- [.sendKeys()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#send-keys)
- [.submit()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#submit)
- [.takeScreenshot()](https://www.selenium.dev/documentation/webdriver/interactions/windows/#takescreenshot)

### Working Example

Expand Down
30 changes: 15 additions & 15 deletions docs/api/element/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ const instance = await addButtonEl.findElement();
All the existing methods from a regular [WebElement](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html) instance are available. If a method is called, it will be added to the Nightwatch queue accordingly.

**Available element commands:**
- [.clear()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#clear)
- [.click()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#click)
- [.findElement()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#findElement)
- [.findElements()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#findElements)
- [.getAttribute()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getAttribute)
- [.getCssValue()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getCssValue)
- [.clear()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#clear)
- [.click()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#click)
- [.findElement()](https://www.selenium.dev/documentation/webdriver/elements/finders/#first-matching-element)
- [.findElements()](https://www.selenium.dev/documentation/webdriver/elements/finders/#all-matching-elements)
- [.getAttribute()](https://www.selenium.dev/documentation/webdriver/elements/information/#fetching-attributes-or-properties)
- [.getCssValue()](https://www.selenium.dev/documentation/webdriver/elements/information/#size-and-position)
- [.getDriver()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getDriver)
- [.getId()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getId)
- [.getRect()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getRect)
- [.getTagName()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getTagName)
- [.getText()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#getText)
- [.isDisplayed()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#isDisplayed)
- [.isEnabled()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#isEnabled)
- [.isSelected()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#isSelected)
- [.sendKeys()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#sendKeys)
- [.submit()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#submit)
- [.takeScreenshot()](https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_WebElement.html#takeScreenshot)
- [.getRect()](https://www.selenium.dev/documentation/webdriver/elements/information/#size-and-position)
- [.getTagName()](https://www.selenium.dev/documentation/webdriver/elements/information/#tag-name)
- [.getText()](https://www.selenium.dev/documentation/webdriver/elements/information/#text-content)
- [.isDisplayed()](https://www.selenium.dev/documentation/webdriver/elements/information/#is-displayed)
- [.isEnabled()](https://www.selenium.dev/documentation/webdriver/elements/information/#is-enabled)
- [.isSelected()](https://www.selenium.dev/documentation/webdriver/elements/information/#is-selected)
- [.sendKeys()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#send-keys)
- [.submit()](https://www.selenium.dev/documentation/webdriver/elements/interactions/#submit)
- [.takeScreenshot()](https://www.selenium.dev/documentation/webdriver/interactions/windows/#takescreenshot)

### Working Example

Expand Down