Forum Discussion

wynfranc100's avatar
Occasional Contributor
3 years ago

Run web app from localhost and headless stopped working - Browsers.RemoteItem



I used to be able to run my web app locally and now I cannot anymore. Even the sample from Smartbear is not working.   How do you fix this? thanks


function Test_Chrome_Headless()
var server = "localhost";
var capabilities = {
browserName: "chrome",
screenResolution: "1920x1080"

var url = "";
Browsers.RemoteItem(server, capabilities).Run(url);




  • wynfranc100's avatar
    3 years ago

    I resolved this. I downloaded a newer version of chromedriver that matches my browser. Looks good now. 

9 Replies

  • Hi wynfranc100 ! 


    What type of error are you encountering when running this sample code? If you could post a screenshot that would help us to determine where the issue may lie here. 

      • wynfranc100's avatar
        Occasional Contributor

        and I can connect to localhost from the browser manually