diff --git a/packages/@angular/cli/tasks/e2e.ts b/packages/@angular/cli/tasks/e2e.ts index ffbc335f851b..bcb874ec2b6b 100644 --- a/packages/@angular/cli/tasks/e2e.ts +++ b/packages/@angular/cli/tasks/e2e.ts @@ -30,10 +30,8 @@ export const E2eTask = Task.extend({ } if (e2eTaskOptions.webdriverUpdate) { - // webdriver-manager can only be accessed via a deep import from within - // protractor/node_modules. A double deep import if you will. const webdriverUpdate = requireProjectModule(projectRoot, - 'protractor/node_modules/webdriver-manager/built/lib/cmds/update'); + 'webdriver-manager/built/lib/cmds/update'); // run `webdriver-manager update --standalone false --gecko false --quiet` promise = promise.then(() => webdriverUpdate.program.run({ standalone: false,