Selenium webdriver exits with error code 135

前端 未结 9 1359
北海茫月
北海茫月 2021-02-07 08:56

I am new to protractor. I am getting the following error while trying to run Selenium tests using protractor

I/hosted - Using the selenium server at http://local         


        
9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-07 09:21

    It seems like selenium server is not running on http://127.0.0.1:4444/wd/hub. Before running your protractor test,you must start the selenium server using below command.webdriver-manager start. After starting the server your tests will execute without any errors.

    If you dont want to start selenium server manually,then just remove seleniumAddress:http://localhost:4444/wd/hub property from your conf.js.

提交回复
热议问题