Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Johnwulp opened this issue Sep 10, 2024 · 0 comments
Open

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

Johnwulp opened this issue Sep 10, 2024 · 0 comments

Comments

@Johnwulp
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant