Menu Close
    Hire us Request quote Reading list Switch to dark mode
    lockdownWebkulUp

    Disabling JavaScript Using Puppeteer

    JavaScript can be disabled using Puppeteer. We just need to obstruct requests and block loading if the type of id is “script” . Below is the code for disabling javascript from Puppeteer.


    The webkul.png will look like below image in which javascript is disabled.

    . . .
    Subscribe Articles

    Just enter your email below to subscribe and receive weekly updates about the most interesting similar articles.

    You need to accept conditions to receive letters.
    You've Subscribed!

    Share article via

    . . .

    Thanks for reading this blog!

    Happy Testing 🙂

    . . .

    Comments (7)

    Add Your Comment

  • Smith
    It gives useful information..
    • Priya Singh
      Thanks for your feedback:)
  • Parabjot
    Thnks for breafing, it’s helpful.
    • Garima Pathak
      Thanks for your feedback 🙂
  • Parabjot
    Thnks for breading, it’s helpful.
  • Kapil Kumar
    I was in need of clarifying this,Thank you for your solution .It was brief but sufficient
    • Garima Pathak
      Thanks for your feedback:)
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close