browser.isConnected
doesn't seem to detect when the browser process is no longer running
#453
Labels
bug
Something isn't working
Tested against: dbede12
The
browser.isConnected
function doesn't seem to fully work as expected -- it doesn't correctly detect that there is no browser process running and therefore no valid CDP connection. Here's the test script I ran. When the test goes to sleep for 20seconds, that's when I force quit the browser process:I was expecting the final
'should be connected before ending iteration'
to fail since the browser process was killed and therefore there shouldn't be a valid connection still open.Please remember to update the
k6-docs
and remove reference to this issue (look for<BWIPT id="453"/>
andxk6-browser/issues/453
).The text was updated successfully, but these errors were encountered: