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 committed Oct 18, 2021
1 parent 23dd179 commit 5380516
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions javascript/node/selenium-webdriver/index.js
Original file line number Diff line number Diff line change
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 5380516

Please sign in to comment.