We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7931fe3 commit e31e667Copy full SHA for e31e667
src/server.lua
@@ -31,7 +31,7 @@ end
31
32
33
WebDriver.newLocalServer = function(props)
34
-
+ print("iniciou o server")
35
if not props.chromedriver_command then
36
error("chromedriver_command is required")
37
end
@@ -46,6 +46,7 @@ WebDriver.newLocalServer = function(props)
46
selfobj.set_public_method("newSession", Server.newSession)
47
48
if props.port then
49
+
50
selfobj.private.url = "http://127.0.0.1:"..selfobj.private.port
51
local command = "%s --port=%d &"
52
command = command:format(props.chromedriver_command, props.port)
0 commit comments