Open francisbeaudoin opened 3 years ago
When using session.visit(), if the page includes indefinitely running Javascript, apparition hangs and never timeouts.
session.visit()
To reproduce the issue, create an HTML page having the following code and session.visit it:
session.visit
<script> while(true) { } </script>
Observe apparition hanging indefinitely.
To fix the problem, I'm initializing the ChromeClient with the session_wait_time value.
ChromeClient
session_wait_time
When using
session.visit()
, if the page includes indefinitely running Javascript, apparition hangs and never timeouts.To reproduce the issue, create an HTML page having the following code and
session.visit
it:Observe apparition hanging indefinitely.
To fix the problem, I'm initializing the
ChromeClient
with thesession_wait_time
value.