axe-core
Version:
Accessibility engine for automated Web UI testing
29 lines (26 loc) • 658 B
HTML
<html id="frameContent">
<head>
<title>Error returning frame frame</title>
</head>
<body>
<script src="../../../lib/core/utils/uuid.js"></script>
<script>
var utils = {};
var axe = {
version: '3.0.4'
};
</script>
<script src="../../../lib/core/utils/respondable.js"></script>
<script>
window.axeName = 'frameContent';
utils.respondable.subscribe('axe.ping', function (data, keepalive, respond) {
respond({axe: true});
});
utils.respondable.subscribe('axe.start', function () {
// respond the number of times requested, keeping alive if requested
throw new Error('error in axe.throw');
});
</script>
</body>
</html>