Skip to content

Commit 9dd878d

Browse files
JustinTullossddavison
authored andcommitted
Fix tracing for WebDriver#getPageSource
The tracing for sending the `getPageSource` command instead identified the command as `getAllWindowHandles` Signed-off-by: Daniel Davison <daniel.jj.davison@gmail.com>
1 parent 22a21b4 commit 9dd878d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/webdriver/webdriver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ webdriver.WebDriver.prototype.getAllWindowHandles = function() {
766766
webdriver.WebDriver.prototype.getPageSource = function() {
767767
return this.schedule(
768768
new webdriver.Command(webdriver.CommandName.GET_PAGE_SOURCE),
769-
'WebDriver.getAllWindowHandles()');
769+
'WebDriver.getPageSource()');
770770
};
771771

772772

0 commit comments

Comments
 (0)