Selenium uses the default Chrome Driver port to run the tests, but chromedriver initializes in another port if this one is in use already. Selenium tests must get the correct chromedriver port in order to run.
Rather dynamically gets the service port or find a way of initialize the chromedriver by a harcoded port (2nd option will fail if the port is already in use)
Describe the bug
Selenium uses the default Chrome Driver port to run the tests, but chromedriver initializes in another port if this one is in use already. Selenium tests must get the correct chromedriver port in order to run.
To Reproduce
https://github.com/thegraphnetwork/EpiGraphHub/actions/runs/4951358165/jobs/8856724372#step:7:61
Expected behavior
Rather dynamically gets the service port or find a way of initialize the chromedriver by a harcoded port (2nd option will fail if the port is already in use)