ladybird/Tests/LibWeb/Text/input/Internals/headless.html
Tim Ledbetter a44b18236c LibWeb: Add an Internals.headless attribute
This returns true if the browser is running in headless mode.
2024-12-10 10:31:47 -08:00

7 lines
171 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {
println(`Browser is running headlessly: ${internals.headless}`);
});
</script>