We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16d07e2 + 38e6b60 commit a71e7a3Copy full SHA for a71e7a3
R/chromote.R
@@ -302,6 +302,13 @@ Chromote <- R6Class(
302
private$sessions[[sid]] <- NULL
303
session$mark_closed()
304
})
305
+
306
+ # When a target crashes, raise a warning.
307
+ # The session cannot be closed because no session id is returned by the
308
+ # Inspector.targetCrashed event
309
+ self$protocol$Inspector$targetCrashed(function(msg) {
310
+ warning("Chromote has received a Inspector.targetCrashed event. This means that the ChromoteSession has probably crashed.")
311
+ })
312
},
313
314
# =========================================================================
0 commit comments