fix null element execption (#370)
This commit is contained in:
@@ -714,6 +714,11 @@ function buildTreeFromBody() {
|
||||
}
|
||||
}
|
||||
function processElement(element, parentId) {
|
||||
if (element === null) {
|
||||
console.log("get a null element");
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if the element is interactable
|
||||
if (isInteractable(element)) {
|
||||
var elementObj = buildElementObject(element, true);
|
||||
|
||||
Reference in New Issue
Block a user