0

My question relates to implementing the solution proposed in this post. The error I first get is that the webdriver is not defined. For that, I tried the following solution. But at that point, I get an error that "require()" is not defined, which brought me to this final solution. I tried the recommended Browserify option, but I don't think it's going to work for me because I can't just throw a "script src="bundle.js"" into the html as I want to use the webdriver to open the YouTube "stats for nerds" menu every time an ad is detected to get the video ID of that ad via a Chrome extension. Not sure if this is possible. Any help would be highly appreciated. I'm new to JS.

Erik
  • 19
  • 5

0 Answers0