Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit aabdd56

Browse files
committed
fix(debugger): breakpoint isn't set properly for windows
1 parent 54163dc commit aabdd56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/debugger/clients/explorer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ WdRepl.prototype.initClient_ = function() {
2525

2626
client.setBreakpoint({
2727
type: 'scriptRegExp',
28-
target: 'selenium-webdriver/executors.js',
28+
target: '.*executors\.js',
2929
line: 37
3030
}, function() {});
3131
});

lib/debugger/clients/wddebugger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ WdDebugger.prototype.initClient_ = function() {
3333

3434
client.setBreakpoint({
3535
type: 'scriptRegExp',
36-
target: 'selenium-webdriver/executors.js',
36+
target: '.*executors\.js',
3737
line: 37
3838
}, function() {
3939
console.log('press c to continue to the next webdriver command');

0 commit comments

Comments
 (0)