igniteram / protractor-cucumber-typescript

e2e kickstarter test framework which consists of protractor, cucumber frameworks using typescript lang!
MIT License
196 stars 170 forks source link

Issue with Initial test run #72

Closed saikarthiknapa2k closed 5 years ago

saikarthiknapa2k commented 5 years ago

Followed the steps, when tried to run the 'npm . run webdriver-start', getting below issue `sais-MacBook-Pro:protractor-cucumber-typescript napas$ npm run webdriver-start

protractor-typescript-cucumber@4.0.0 webdriver-start /Users/napas/protractor-cucumber-typescript webdriver-manager start

[11:07:31] I/start - java -Dwebdriver.gecko.driver=/Users/napas/protractor-cucumber-typescript/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.26.0 -Dwebdriver.chrome.driver=/Users/napas/protractor-cucumber-typescript/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_78.0.3904.105 -jar /Users/napas/protractor-cucumber-typescript/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar -port 4444 [11:07:31] I/start - seleniumProcess.pid: 10528 11:07:31.348 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358 11:07:31.427 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444 2019-11-21 11:07:31.481:INFO::main: Logging initialized @336ms to org.seleniumhq.jetty9.util.log.StdErrLog 11:07:31.697 INFO [WebDriverServlet.] - Initialising WebDriverServlet 11:07:31.769 ERROR [BaseServer.start] - Port 4444 is busy, please choose a free port and specify it using -port option Exception in thread "main" java.lang.RuntimeException: java.net.BindException: Address already in use at org.openqa.selenium.grid.server.BaseServer.start(BaseServer.java:221) at org.openqa.selenium.remote.server.SeleniumServer.boot(SeleniumServer.java:131) at org.openqa.grid.selenium.GridLauncherV3.lambda$buildLaunchers$3(GridLauncherV3.java:249) at org.openqa.grid.selenium.GridLauncherV3.lambda$launch$0(GridLauncherV3.java:86) at java.util.Optional.map(Optional.java:215) at org.openqa.grid.selenium.GridLauncherV3.launch(GridLauncherV3.java:86) at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:70) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.seleniumhq.jetty9.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) at org.seleniumhq.jetty9.server.ServerConnector.open(ServerConnector.java:307) at org.seleniumhq.jetty9.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.seleniumhq.jetty9.server.ServerConnector.doStart(ServerConnector.java:235) at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.seleniumhq.jetty9.server.Server.doStart(Server.java:395) at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.openqa.selenium.grid.server.BaseServer.start(BaseServer.java:202) ... 6 more`

Tried with :

webdriver-manager start --detach
webdriver-manager shutdown

Stuck at below instance : image