Skip to content

Commit e31e667

Browse files
att
1 parent 7931fe3 commit e31e667

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131

3232

3333
WebDriver.newLocalServer = function(props)
34-
34+
print("iniciou o server")
3535
if not props.chromedriver_command then
3636
error("chromedriver_command is required")
3737
end
@@ -46,6 +46,7 @@ WebDriver.newLocalServer = function(props)
4646
selfobj.set_public_method("newSession", Server.newSession)
4747

4848
if props.port then
49+
4950
selfobj.private.url = "http://127.0.0.1:"..selfobj.private.port
5051
local command = "%s --port=%d &"
5152
command = command:format(props.chromedriver_command, props.port)

0 commit comments

Comments
 (0)