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.
1 parent fe69b5b commit f9a875cCopy full SHA for f9a875c
javascript/node/selenium-webdriver/test/bidi/browsingcontext_inspector_test.js
@@ -68,7 +68,11 @@ suite(
68
69
assert.equal(contextInfo.id, windowHandle)
70
assert.equal(contextInfo.url, 'about:blank')
71
- assert.equal(contextInfo.children, null)
+
72
+ assert(
73
+ Array.isArray(contextInfo.children) && contextInfo.children.length === 0,
74
+ 'children should be an empty array',
75
+ )
76
assert.equal(contextInfo.parentBrowsingContext, null)
77
})
78
0 commit comments