2

I have installed the following:

  1. Visual Studio 2017
  2. Chrome Browser - Version 67.0.3396.99 (Official Build) (64-bit)
  3. Chrome Driver- 2.40

While running a coded UI automation in Visual Studios, I am unable to to run it successfully. It doesn't move past the main page.

It throws the following error:

Only local connections are allowed.

ERROR: gpu_process_transport_factory.cc

1
  • paste your code in the question description.
    – Alok
    Commented Jul 1, 2018 at 7:05

2 Answers 2

1

You can add the disable-gpu option via ChromeOptions:

ChromeOptions options = new ChromeOptions(); 
options.addArgument("disable-gpu"); 

WebDriver driver = new ChromeDriver(options);
0

Right now, you'll also want to include the --disable-gpu flag if you're running on Windows.

1
  • 1
    Where to add the --disable-gpu flag? Commented Jun 30, 2018 at 0:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.