@revoloo/cypress6
Version:
Cypress.io end to end testing tool
26 lines (24 loc) • 708 B
HTML
<html>
<head>
<title>Issue 1436</title>
</head>
<body>
<script type="text/javascript">
window.getParent = function (n) {
for (; !function (n) {
return n === n.parent
}(n) && function (n) {
try {
if (void 0 == n.location.href) { return !1 }
} catch (n) {
return !1
}
return !0
}(n.parent);) { n = n.parent }
return n
}
window.getParentMin = function(n){for(;!function(n){return n===n.parent}(n)&&function(n){try{if(void 0==n.location.href)return!1}catch(n){return!1}return!0}(n.parent);)n=n.parent;return n}
</script>
</body>
</html>