Skip to content

Commit

Permalink
Fix other W3C links.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed May 27, 2024
1 parent 89c499d commit 0c51046
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/api/element-commands/getValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getAccessibleName.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>} A container with accessible name of an element.
*/
module.exports.command = function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getAriaRole.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>} The container with computed WAI-ARIA role of an element.
*/
module.exports.command = function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getAttribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string | null>} The value of the attribute
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getCssProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>} The container with a value of the css property
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getTagName.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>}
*/
module.exports.command = function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getText.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>}
*/
module.exports.command = function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/getValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>}
*/
module.exports.command = function () {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/isEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>}
*/
module.exports.command = function () {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/isSelected.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>}
*/
module.exports.command = function () {
Expand Down
2 changes: 1 addition & 1 deletion lib/api/web-element/commands/isVisible.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>}
* @alias isDisplayed
*/
Expand Down

0 comments on commit 0c51046

Please sign in to comment.