Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何在量角器中配置硒网格?
我们是否需要像使用 selenium 一样创建集线器和节点?
我们如何将“webdriver-manager”作为集线器/节点运行?
谢谢
残酷的
试试下面的配置,
multiCapabilities: [ { browserName: 'chrome', seleniumAddress : "http://remotemachine1:4444/wd/hub" }, { browserName: 'firefox', seleniumAddress : "http://remotemachine2:4444/wd/hub" } ].
在执行测试之前,您需要webdriver-manger start在两台远程机器上启动 selenium 服务器。
webdriver-manger start