xvrh / puppeteer-dart

A Dart library to automate the Chrome browser over the DevTools Protocol. This is a port of the Puppeteer API
BSD 3-Clause "New" or "Revised" License
230 stars 58 forks source link

flutter macos desktop launch, #154

Open dzh0530 opened 3 years ago

dzh0530 commented 3 years ago

Appears when the desktop version starts Unhandled Exception: Exception: Websocket url not found May I ask what is the reason

kechankrisna commented 2 years ago

Appears when the desktop version starts Unhandled Exception: Exception: Websocket url not found May I ask what is the reason

got the same error, any solution?

kechankrisna commented 2 years ago

Appears when the desktop version starts Unhandled Exception: Exception: Websocket url not found May I ask what is the reason

got the same error, any solution?

Simple solution and work for me is that update your entitlements as `

com.apple.security.app-sandbox

`

dzh0530 commented 2 years ago

hank you, I also solved the problem here. I forgot to come back and recover.

Baneeishaque commented 2 years ago

how to do this on Linux?

Sungtae-Lee commented 1 year ago

is there any solution without touching app-sandbox ?

mirkancal commented 1 year ago

It worked for me on debug mode when I set to sandbox:false, but when I export the macOS app, that was the error: creation failed, path = .local-chrome

Sungtae-Lee commented 1 year ago

right. touching app-sandbox will cause a problem when distributing the app :(