diff --git a/lib/debugger/clients/explorer.js b/lib/debugger/clients/explorer.js index 45f640cf4..a8d04a70c 100644 --- a/lib/debugger/clients/explorer.js +++ b/lib/debugger/clients/explorer.js @@ -25,7 +25,7 @@ WdRepl.prototype.initClient_ = function() { client.setBreakpoint({ type: 'scriptRegExp', - target: 'selenium-webdriver/executors.js', + target: '.*executors\.js', line: 37 }, function() {}); }); diff --git a/lib/debugger/clients/wddebugger.js b/lib/debugger/clients/wddebugger.js index 89ae02cab..ea316aafd 100644 --- a/lib/debugger/clients/wddebugger.js +++ b/lib/debugger/clients/wddebugger.js @@ -33,7 +33,7 @@ WdDebugger.prototype.initClient_ = function() { client.setBreakpoint({ type: 'scriptRegExp', - target: 'selenium-webdriver/executors.js', + target: '.*executors\.js', line: 37 }, function() { console.log('press c to continue to the next webdriver command');