-
./node_modules/selenium-webdriver/lib/devmode.js中的错误未找到模块:错误:无法解析'C:\users\test\desktop\ui-portal\node_modules\selenium-webdriver\lib'@./node_modules/selenium-webdriver/lib/devmode.js
我一直在寻找答案,但找不到任何有用的东西--有人以前见过这个特殊的问题吗?我的package.json文件如下:
{
"name": "ui-portal",
"version": "0.0.1",
"license": "MIT",
"scripts": {
},
"private": true,
"dependencies": {
"@angular/animations": "^5.2.0",
"@angular/common": "^5.2.0",
"@angular/compiler": "^5.2.0",
"@angular/core": "^5.2.0",
"@angular/forms": "^5.2.0",
"@angular/http": "^5.2.0",
"@angular/platform-browser": "^5.2.0",
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/router": "^5.2.0",
"@ngx-translate/core": "9.1.1",
"@ngx-translate/http-loader": "2.0.1",
"applicationinsights-js": "^1.0.18",
"bootstrap": "3.3.7",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"ng4-loading-spinner": "^1.1.3",
"ngx-bootstrap": "^3.0.1",
"rxjs": "^5.5.6",
"source-sans-pro": "^2.20.2",
"zone.js": "^0.8.19"
},
"devDependencies": {
"@angular/cli": "1.6.5",
"@angular/compiler-cli": "^5.2.0",
"@angular/language-service": "^5.2.0",
"@compodoc/compodoc": "^1.0.1",
"@types/chai": "^3.5.1",
"@types/jasmine": "~2.8.3",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "^4.0.1",
"diff": "^3.4.0",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-mocha-reporter": "^2.2.3",
"karma-sourcemap-loader": "^0.3.7",
"karma-tfs-reporter": "^1.0.1",
"mocha": "^4.0.1",
"onchange": "^3.2.1",
"protractor": "~5.1.2",
"rimraf": "^2.6.1",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
"typescript": "~2.5.3",
"webpack-bundle-analyzer": "^2.9.0"
}
}
提前感谢各位的指点!这一点真的没有进展:(
我在ng测试时也遇到了同样的问题
角CLI:6.1.2节点:8.9.1
对我来说问题是使用
正如您所看到的,所有其他selenium库都可以毫无问题地导入,但是支持库根本不想工作。我该怎么办?
问题内容: 我试图通过类名选择一个,但是它不起作用,我正在尝试使用它,但是当我尝试在不能的元素中键入内容时,请帮我这是我的代码: 这是我网页中的HTML: 问题答案: 通过xpath找到iFrame解决了问题 然后返回到顶部窗口:
问题内容: 我正在使用Babel和Webpack开发一个React应用,我想使用npm中的软件包。我已经安装了该软件包并将其保存为项目的依赖项。运行npm start后,出现此错误: ./~/file-exists/index.js中的错误找不到 模块:错误:无法在C:\ GitHub \ CryptoPrices \ node_modules \ file-exists @ ./~/file-e
我已经使用了下面的代码,将鼠标移到选项卡上,然后选择表中的菜单。鼠标悬停在Firefox上运行良好,但在Chrome和Internet Explorer上不起作用。在选择菜单之前,我们已经选择了iframe。请建议在IE WebDriver中处理鼠标悬停的替代方法我使用了鼠标悬停的操作方法。