cuprite icon indicating copy to clipboard operation
cuprite copied to clipboard

Remote inspector stops test execution

Open benjaminwood opened this issue 5 years ago • 2 comments

Is it possible to open a remote inspector session to watch the test go by without interrupting its execution?

I'm not pausing the test (not using page.driver.debug or binding.pry, etc). Simply connecting headed chrome to the headless session with remote inspection stops the test execution. Is this expected? Is there a way to resume test execution once it has stopped?

Thanks for your help!

benjaminwood avatar Aug 04 '20 23:08 benjaminwood

@benjaminwood you can try simply type enter and this will resume test from the given point, add slowmo option if everything happens too fast

route avatar Aug 05 '20 10:08 route

Hi @route - thanks for following up. Nothing happens when I press the enter key. Do I understand correctly that the test execution is automatically paused when I connect the remote inspector (without the use of page.driver.debug, etc)?

No message is displayed that the test is paused. It just sits there until the timeout limit is reached. I feel that there is something wrong - is there additional information I can provide that'd help make sense of things? I'm running the latest versions of cuprite/ferrum with Ruby 2.3.3 & Rails 4.2 in a cucumber suite.

benjaminwood avatar Aug 05 '20 16:08 benjaminwood