Experience-Monks / devtool

[OBSOLETE] runs Node.js programs through Chromium DevTools
MIT License
3.76k stars 148 forks source link

devtool debug alibaba macaca-test-sample-master error #83

Open Archer456 opened 8 years ago

Archer456 commented 8 years ago

I use alibaba macaca 。The tools‘ github url is https://macacajs.github.io/macaca/. It is testcase url is https://github.com/macacajs/macaca-test-sample。 Then I use devtool to do this。 I am sure the environment and operate is correct,Because the testcase can run alone by use macaca run . example like this: D:\macaca\macaca-test-sample-master\macaca-test>macaca run -d macaca-desktop-sample.test.js

PS:I just do this learn by this article https://testerhome.com/topics/4563

Now the devtool wrong like this: 1 Failed to load resource: net::ERR_FILE_NOT_FOUND file:///D:/nodejs/node-global/node_modules/devtool/index.html

This problem appear in win10 environment,But in ubuntu 16.04 it is OK can find this /devtool/index.html

image

2 image

This problem appear in win10 and ubuntu16.04 all。

C:\Users\cmd>devtool --version devtool 2.0.3 electron 1.1.1 node 6.1.0 chrome 50.0.2661.102

Thank you. I hope can resolve this promblem。

This use
D:\macaca\macaca-test-sample-master\macaca-test>devtool macaca-mobile-sample.test.js --console --watch image

rohanrhu commented 6 years ago

This issue is still actual.