Skip to content

private_port #3

@SamuelHenriqueDeMoraisVitrio

Description

if props.port then

    selfobj.private.url = "http://127.0.0.1:"..selfobj.private.port
    local command = "%s --port=%d &"
    command = command:format(props.chromedriver_command, props.port)
    print("Starting chromedriver with command: " .. command)
    local ok = os.execute(command)
    if ok then
        error("Failed to start chromedriver with command: " .. command)
    end    
else

Nesse private.port deveria inicialmente receber o valor de props.port

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions