9

I am trying to run E2E tests for an angular application using protractor. I use the command ./node_modules/protractor/bin/webdriver-manager to start my selenium server. However the default selenium server location is localhost:4444/wd/hub, but localhost:4444 is already used on my machine and this is difficult to change. How do I start a selenium server at a port other than 4444?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Selah
  • 7,728
  • 9
  • 48
  • 60

1 Answers1

22

Use below command :

webdriver-manager start --seleniumPort XXXX
Jens
  • 5,767
  • 5
  • 54
  • 69
Nguyen Vu Hoang
  • 1,570
  • 14
  • 19