Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/tests/deps.ts>Page#setJavaScriptEnabled

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.setJavaScriptEnabled
Re-export
import { Page } from "https://deno.land/x/fresh@1.6.7/tests/deps.ts";

Parameters

enabled: boolean
  • Whether or not to enable JavaScript on the page.

Returns

Promise<void>