Continuous Test Orchestration And Execution Platform Online

Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.

How to run JavaScript in Chrome browser?

Modern web browsers like Chrome don’t allow running JavaScript from the URL due to security constraints. However, there may be such instances where you want to run or enable JavaScript in your Chrome browser.

For example, if you want to see Google Ads or check the last update time of a particular web page. You will need to enable JavaScript in your Chrome browser in certain scenarios.

Following are the steps to run JavaScript on the Chrome browser.

  • Open the website on which you wish to run JavaScript code.
  • From the Chrome three dots menu, go to More tools > Developer tools or use Ctrl+Shift+I.
  • Click on Console and select Inspect element.
  • Once JavaScript Console launches, clear the console log.
  • You can now enter the script you want to run and press Enter.

Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.

Start Free Testing

Earn resume-worthy Selenium certifications that help you land a top job.

Learn More

Test your web or mobile apps

Test orchestration and execution cloud of 3000+ browsers and OS


24/7 support


Enterprise grade security


Fastest test execution cloud