Forum Discussion

sohailalam2696's avatar
sohailalam2696
Contributor
7 months ago

How to open Dev Tools using Test Complete?

These are the steps I tried but did not work. {   //Opens the specified URL in a running instance of the specified browser.   //Browsers.Item(btChrome).Navigate("https://example.com/");   //Click...
  • nastester's avatar
    7 months ago

    You could just do:

    function openDevTools() {
      Sys.Browser("chrome").Page("*").Keys("[F12]")
    }