Skip to content

Set timeout for selenium to something other then 60 sec. #311

@Johnwulp

Description

@Johnwulp

I have a webpage take takes a bit longer then 60 sec to respond. Is there also a commandline for that?
I created the chrome browser object with commandline: --disable-search-engine-choice-screen , but after executing the click element the timeout kicks in...

2024-09-10 14:20:18.511 +02:00 [INF] Running Line 13: Element Action [Find Element By XPath and Invoke Click, Instance Name: 'chrome'] 2024-09-10 14:21:18.831 +02:00 [INF] Result Code: Error 2024-09-10 14:21:18.831 +02:00 [INF] Error: OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:37409/session/4adf8ef822d7d78864eadefe318d1a99/element/f.D4BBEF5B639745C38CC96E3B34B682E7.d.CCB62B07AA60C0F66214613BE2FE0898.e.42/click timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out. at System.Net.HttpWebRequest.GetResponse() at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo) --- End of inner exception stack trace --- at taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteCommand(ScriptAction command) at taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteScript(String data, Boolean dataIsFile)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions