zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8.04k stars 535 forks source link

ui.Load method seems don't work after a period of time #139

Open c9s opened 3 years ago

c9s commented 3 years ago

I tried to open the inspector, and it seems the first inspector will be closed after a period of time (like, 20 seconds). if the ui.Load call is executed after the time, the window won't navigate to the given URL.

c9s commented 3 years ago

it seems the websocket connection is disconnected or re-created, and so it loses control of the target window.

c9s commented 3 years ago

looks like the same issue: https://stackoverflow.com/questions/59855089/chromedriver-keeps-losing-connection-right-after-the-start-of-the-selenium-test

timcolson commented 3 years ago

Thx for sharing, @c9s. If I understand the SO correctly, sounds like problem (and fix) would be on the Chrome side?