Skip to content

Commit

Permalink
Remove changes for elements command.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed May 22, 2024
1 parent 82a577b commit e6f21a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/api/protocol/elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ProtocolAction = require('./_base-action.js');
* .navigate()
* .assert.titleContains('Nightwatch.js');
*
* nightwatch.elements('@featuresList', function(result) {
* nightwatch.api.elements('@featuresList', function(result) {
* console.log(result);
* });
*
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6719,7 +6719,7 @@ export interface WebDriverProtocolElements {
* .navigate()
* .assert.titleContains('Nightwatch.js');
*
* nightwatch.elements('@featuresList', function(result) {
* nightwatch.api.elements('@featuresList', function(result) {
* console.log(result);
* });
*
Expand Down

0 comments on commit e6f21a4

Please sign in to comment.