Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPaul Noguese Osagiobare
244 Pointserror: Cannot find module 'selenium-webdriver/testing'
error: Cannot find module 'selenium-webdriver/testing'
Please how do I resolve this? I have followed everything in the video but I still can not fix this error
Type “.help” for more information.
> require(“selenium-webdriver/testing”);
Uncaught Error: Cannot find module ‘selenium-webdriver/testing’
Require stack:
- <repl>
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [ ‘<repl>’ ]
}
Paul Noguese Osagiobare
244 Pointsfrom what I read it seems this was removed from selenium
https://github.com/SeleniumHQ/selenium/issues/8458
for this course should be updated to stay relevant. could not complete this course because of this
Paul Noguese Osagiobare
244 PointsPaul Noguese Osagiobare
244 Pointswhen I run the code like this
I want it to work like the code in the lecture because it is needed for the rest of the course. please how I can fix this