Skip to content

Testing locally sample-todo-app - An element could not be located on the page using the given search parameters #2

Description

@eliassal

I ran the test using the URL https://lambdatest.github.io/sample-todo-app in the C# singleTest.cs and it worked fine. However, I cloned the sample-todo-app and run it locally http://salam7.salam.net:81/sample-todo-app/ test does not go through as the test with public URL and get the following error

image

and in LT Logs I see that it searches for https://myserver and not the url I indicated in the test file which is http not https

{"level":"debug","time":"2024-04-17T09:53:53.984+0200","caller":"custom/setup.go:549","msg":"handling connect request for URL https://accounts.google.com:443","tunnelID":"888801","requestID":38}
{"level":"debug","time":"2024-04-17T09:53:54.283+0200","caller":"custom/setup.go:549","msg":"handling connect request for URL https://salam7.salam.net:81","tunnelID":"888801","requestID":39}
{"level":"debug","time":"2024-04-17T09:53:54.378+0200","caller":"custom/setup.go:549","msg":"handling connect request for URL https://salam7.salam.net:81","tunnelID":"888801","requestID":40}
{"level":"debug","time":"2024-04-17T09:53:54.465+0200","caller":"custom/setup.go:549","msg":"handling connect request for URL https://salam7.salam.net:81","tunnelID":"888801","requestID":41}

So I think it is an SSL issue between the platform and my local web app. How can this be fixed? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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