本文介绍了如何配置量角器和Selenium Server?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照以下步骤安装了JDK,Protractor和webdriver-manage:

I have install JDK,Protractor and webdriver-manage by following this :

量角器安装教程

但是当我运行此命令时:webdriver-manager start进入我的cmdseleniumProcess.

but when i run this: webdriver-manager startgets in my cmdseleniumProcess.

我该如何配置?

推荐答案

  1. 从以下位置删除Web驱动程序的先前实例(.jar文件):C:\ Users \ HP \ AppData \ Roaming \ npm \ node_modules \ ptractor \ selenium
  2. http://www.seleniumhq.org/download下载selenium-server-standalone-2.45.0/并替换.jar文件.
  1. Remove previous instance (.jar file) of web driver from the location- C:\Users\HP\AppData\Roaming\npm\node_modules\p rotractor\selenium
  2. Download the selenium-server-standalone-2.45.0 from http://www.seleniumhq.org/download/and replace the .jar file.

这篇关于如何配置量角器和Selenium Server?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 03:06