diff --git a/lib/api/element-commands/getValue.js b/lib/api/element-commands/getValue.js index 3396c71b2..38c7acc4c 100644 --- a/lib/api/element-commands/getValue.js +++ b/lib/api/element-commands/getValue.js @@ -38,7 +38,7 @@ const BaseElementCommand = require('./_baseElementCommand.js'); * @param {string|object} selector The selector (CSS/Xpath) used to locate the element. Can either be a string or an object which specifies [element properties](https://nightwatchjs.org/guide#element-properties). * @param {function} callback Callback function which is called with the result value. * @returns {string} The element's value. - * @link /#dfn-get-element-tag-name + * @link /#get-element-property * @api protocol.elementstate */ class GetValue extends BaseElementCommand { diff --git a/lib/api/web-element/commands/getAccessibleName.js b/lib/api/web-element/commands/getAccessibleName.js index 202e2a3d2..ac531f1d7 100644 --- a/lib/api/web-element/commands/getAccessibleName.js +++ b/lib/api/web-element/commands/getAccessibleName.js @@ -21,7 +21,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getAccessibleName() - * @see https://www.w3.org/TR/webdriver#dfn-get-computed-label + * @link /#get-computed-label * @returns {ScopedValue} A container with accessible name of an element. */ module.exports.command = function() { diff --git a/lib/api/web-element/commands/getAriaRole.js b/lib/api/web-element/commands/getAriaRole.js index 0f32df12a..68ac1a780 100644 --- a/lib/api/web-element/commands/getAriaRole.js +++ b/lib/api/web-element/commands/getAriaRole.js @@ -20,7 +20,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getAriaRole() - * @see https://www.w3.org/TR/webdriver#dfn-get-computed-role + * @link /#get-computed-role * @returns {ScopedValue} The container with computed WAI-ARIA role of an element. */ module.exports.command = function() { diff --git a/lib/api/web-element/commands/getAttribute.js b/lib/api/web-element/commands/getAttribute.js index 2d47d223c..fae61dd15 100644 --- a/lib/api/web-element/commands/getAttribute.js +++ b/lib/api/web-element/commands/getAttribute.js @@ -23,7 +23,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getAttribute(name) - * @see https://www.w3.org/TR/webdriver#dfn-get-element-attribute + * @link /#get-element-attribute * @param {string} name The attribute name to inspect. * @returns {ScopedValue} The value of the attribute */ diff --git a/lib/api/web-element/commands/getCssProperty.js b/lib/api/web-element/commands/getCssProperty.js index cbdb1d83c..b54419c00 100644 --- a/lib/api/web-element/commands/getCssProperty.js +++ b/lib/api/web-element/commands/getCssProperty.js @@ -34,7 +34,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getCssProperty(name) - * @see https://www.w3.org/TR/webdriver#get-element-css-value + * @link /#get-element-css-value * @param {string} cssProperty The CSS property to inspect. * @returns {ScopedValue} The container with a value of the css property */ diff --git a/lib/api/web-element/commands/getTagName.js b/lib/api/web-element/commands/getTagName.js index f2a06e56c..33f0ee651 100644 --- a/lib/api/web-element/commands/getTagName.js +++ b/lib/api/web-element/commands/getTagName.js @@ -21,7 +21,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getTagName() - * @see https://www.w3.org/TR/webdriver#dfn-get-element-tag-name + * @link /#get-element-tag-name * @returns {ScopedValue} */ module.exports.command = function() { diff --git a/lib/api/web-element/commands/getText.js b/lib/api/web-element/commands/getText.js index 6391c8163..e753121ad 100644 --- a/lib/api/web-element/commands/getText.js +++ b/lib/api/web-element/commands/getText.js @@ -22,7 +22,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getText() - * @see https://www.w3.org/TR/webdriver#dfn-get-element-text + * @link /#get-element-text * @returns {ScopedValue} */ module.exports.command = function() { diff --git a/lib/api/web-element/commands/getValue.js b/lib/api/web-element/commands/getValue.js index a1ea155c7..74a2c0264 100644 --- a/lib/api/web-element/commands/getValue.js +++ b/lib/api/web-element/commands/getValue.js @@ -21,7 +21,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).getValue() - * @see https://www.w3.org/TR/webdriver#dfn-get-element-tag-name + * @link /#get-element-property * @returns {ScopedValue} */ module.exports.command = function () { diff --git a/lib/api/web-element/commands/isEnabled.js b/lib/api/web-element/commands/isEnabled.js index 349029dc6..ac36a975d 100644 --- a/lib/api/web-element/commands/isEnabled.js +++ b/lib/api/web-element/commands/isEnabled.js @@ -22,7 +22,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).isEnabled() - * @see https://www.w3.org/TR/webdriver/#is-element-enabled + * @link /#is-element-enabled * @returns {ScopedValue} */ module.exports.command = function () { diff --git a/lib/api/web-element/commands/isSelected.js b/lib/api/web-element/commands/isSelected.js index 6e9bb605e..075bd800e 100644 --- a/lib/api/web-element/commands/isSelected.js +++ b/lib/api/web-element/commands/isSelected.js @@ -22,7 +22,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).isSelected() - * @see https://www.w3.org/TR/webdriver/#is-element-selected + * @link /#is-element-selected * @returns {ScopedValue} */ module.exports.command = function () { diff --git a/lib/api/web-element/commands/isVisible.js b/lib/api/web-element/commands/isVisible.js index 4bf41db72..fe5cbc19e 100644 --- a/lib/api/web-element/commands/isVisible.js +++ b/lib/api/web-element/commands/isVisible.js @@ -20,7 +20,7 @@ * @memberof ScopedWebElement * @instance * @syntax browser.element(selector).isVisible() - * @see https://www.w3.org/TR/webdriver/#element-displayedness + * @link /#element-displayedness * @returns {ScopedValue} * @alias isDisplayed */