SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.83k stars 768 forks source link

Cannot find module './nodejs/NodejsStreamInputAdapter' #1133

Open Panache1 opened 4 years ago

Panache1 commented 4 years ago

🐛 Bug Report

My Tests run fine through the IDE. However, when I put any of them in a Test Suite and try to run them either through the IDE or Side-Runner, I always get the error: Cannot find module './nodejs/NodejsStreamInputAdapter'. Indeed, neither the directory nor the module exists in C:\Users\Kurt\AppData\Roaming\npm\node_modules\selenium-side-runner\jszip\lib.

To Reproduce

Here is a print from the Command Prompt showing the testing of node, npm, the installation of Side-Runner, the installation of GeckoDriver and my attempt to run Test.side:

Temp.txt

The error can also be reproduced by opening the project below and running the TestSuite in the IDE.

Expected behavior

I expected running the Test Suite either in the IDE or in Side-runner from the Command Prompt to do the same thing as running the Test in the IDE. More specifically, I expected install -g selenium-side-runner to have installed the required module.

Test script or set of commands reproducing this issue

Test.zip

Environment

OS: Windows 10 [Version 10.0.18363.959] Browser: Firefox Browser version: 79.0 [64 bit] Browser Driver version: geckodriver@1.20.0

toddtarsi commented 1 year ago

v4 is a complete reimplementation of the side-runner. Please try that and let me know if it resolves your issue.