Selenium webdriver exits with error code 135

前端 未结 9 1360
北海茫月
北海茫月 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:17

    check your web driver status by the below command

     webdriver-manager status
    

    if it's not up to date you can remove and install it by following these steps

     webdriver-manager clean
     webdriver-manager status
     webdriver-manager update
     webdriver-manager start
    

    then start your web driver by

    if you get this error

       ERROR [BaseServer.start] - Port 4444 is busy, please choose a free port and specify it using -port option
    

    you can set another port by this command(for example port 4545)

     webdriver-manager start --seleniumPort 4545
    

    then your selenium web driver will run

提交回复
热议问题