Skip to content

Commit

Permalink
[js] Fixes relative locator 'locateWith' export
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 authored and elgatov committed Jun 27, 2022
1 parent a29454f commit 620faf7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions javascript/node/selenium-webdriver/index.js
Expand Up @@ -339,10 +339,10 @@ class Builder {
getCapabilities() {
return this.capabilities_
}

/**
* Sets the desired capability when requesting a new session.
* If there is already a capability named key, its value will be overwritten with value.
* Sets the desired capability when requesting a new session.
* If there is already a capability named key, its value will be overwritten with value.
* This is a convenience wrapper around builder.getCapabilities().set(key, value) to support Builder method chaining.
* @param {string} key The capability key.
* @param {*} value The capability value.
Expand Down Expand Up @@ -822,7 +822,7 @@ exports.Builder = Builder
exports.Button = input.Button
exports.By = by.By
exports.withTagName = by.withTagName
exports.withLocator = by.withLocator
exports.locateWith = by.locateWith
exports.Capabilities = capabilities.Capabilities
exports.Capability = capabilities.Capability
exports.Condition = webdriver.Condition
Expand Down

0 comments on commit 620faf7

Please sign in to comment.