rod icon indicating copy to clipboard operation
rod copied to clipboard

How to disable Taskkill.exe?

Open OsKaR82 opened this issue 3 years ago • 4 comments

Hello, I am testing with go-rod and every time the browser is closed, taskkill.exe appears, which closes the entire program, can it be disabled? I don't see it in the documentation. Greetings. Taskkill

OsKaR82 avatar Aug 09 '22 08:08 OsKaR82

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.108.2

generated by check-issue

rod-robot avatar Aug 09 '22 08:08 rod-robot

Disable the leakless, read the doc of the Leakless method:

u := launcher.New().Leakless(false).MustLaunch()
rod.New().ControlURL(u).MustConnect()

ysmood avatar Aug 09 '22 11:08 ysmood

Leakless

Thank you very much, I didn't see it in the documentation: https://go-rod.github.io/#/contribute-doc

OsKaR82 avatar Aug 09 '22 20:08 OsKaR82

Better to use the IDE to see the doc of methods, not the tutorial website. Just hover your mouse over the method, you should see the doc 😂

ysmood avatar Aug 10 '22 00:08 ysmood