apparition icon indicating copy to clipboard operation
apparition copied to clipboard

Initialize ChromeClient timeout with default Capybara timeout

Open francisbeaudoin opened this issue 3 years ago • 0 comments

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:

<script>
	while(true) { }
</script>

Observe apparition hanging indefinitely.

To fix the problem, I'm initializing the ChromeClient with the session_wait_time value.

francisbeaudoin avatar Nov 23 '21 21:11 francisbeaudoin