1

I try to run springboot application which is using selenium on heroku. Locally everything works fine, but when my application

2018-09-09T11:42:25.404810+00:00 app[web.1]: [0909/114225.404404:ERROR:gpu_process_transport_factory.cc(1007)] Lost UI shared context.
2018-09-09T11:42:25.405652+00:00 app[web.1]: 
2018-09-09T11:42:25.405742+00:00 app[web.1]: DevTools listening on ws://127.0.0.1:9222/devtools/browser/d6cd5add-200d-4bf7-b1ec-12f743092efc

and after that selenium throws an error:Timed out waiting for driver server to start.

On heroku I'm using https://github.com/heroku/heroku-buildpack-chromedriver and https://github.com/heroku/heroku-buildpack-google-chrome.

Does anyone have an idea how to solve this ?

Vadim Kotov
  • 7,103
  • 8
  • 44
  • 57
franczez
  • 63
  • 1
  • 7

1 Answers1

1

Let us look at the trace logs you have shared:

Solution

You need to cross check the WebDriver / Web Browser initiation/initialzation part of your code to solve this error.

DebanjanB
  • 118,661
  • 30
  • 168
  • 217