Skip to content

Commit 2be9544

Browse files
committed
change port
1 parent 448feb4 commit 2be9544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/browsertester.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import browsertests/[scenario1, threads, issue181, categories]
4848
proc main() =
4949
# Kill any already running instances
5050
discard execCmd("killall chromedriver")
51-
spawn runProcess("chromedriver --port=4444 --log-level=DEBUG")
51+
spawn runProcess("chromedriver --log-level=DEBUG")
5252
defer:
5353
discard execCmd("killall chromedriver")
5454

@@ -60,7 +60,7 @@ proc main() =
6060
sleep(5000)
6161

6262
try:
63-
let driver = newWebDriver()
63+
let driver = newWebDriver(url = "http://localhost:9515")
6464
let session = driver.createSession(%*{"capabilities": {"alwaysMatch": {"browserName": "chrome", "goog:chromeOptions": {"args": ["--headless", "--no-sandbox", "--disable-dev-shm-usage", "disable-infobars", "--disable-extension"]}}}})
6565

6666
withBackend:

0 commit comments

Comments
 (0)