S
S
SuperTester7772020-01-30 16:47:28
linux
SuperTester777, 2020-01-30 16:47:28

How to fix WebDriverException when waiting more than 1m (approximately) when autotest is run remotely?

There is a server on which we run autotests remotely.
We use selenoid + docker + UI selenoid VNC.
We run autotests via IntelliJ IDEA via gradle in 4 threads.

When I run an autotest, where the script says to wait ~60+ seconds, the following happens:
1) ~60 seconds after the launch, the connection seems to be disconnected.
UI VNC log:
5e32dc401bc0b325635525.png
2) After another ~3 minutes, a WebDriverException arrives in IntelliJ IDEA.

com.codeborne.selenide.ex.ElementNotFound
        Caused by: org.openqa.selenium.WebDriverException
    org.openqa.selenium.WebDriverException
    org.openqa.selenium.WebDriverException

At the same time, in the following scenarios of this feature and the next one, there are also falls with WebDriverException, it cannot even rise. Further features work out regularly.

I thought it was the timeouts of the selenoid container and set it to 10m for all three parameters:
"-service-startup-timeout",
            "10m",
            "-session-attempt-timeout",
            "10m",
            "-session-delete-timeout",
            "10m"

But that didn't help at all.

Maybe there are ideas where to look for the problem? Probably somewhere else there is an explicit timeout that breaks everything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
1001001, 2020-01-30
@SuperTester777

you start it wrong, everything works there
--args "-timeout 10m "

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question