Hi, my application needs to load Selenium::Chrome for every single worker process. I made this via Mojo::IOLoop->next_tick(sub { $Self->{Chrome} = Selenium::Chrome->new( extra_capabilities => { chromeOptions => { args => [ 'headless', 'no-sandbox', 'window-size=1400,900', 'disk-cache-size=0', 'disable-gpu', 'v8-cache-options=off' ] } }, );
But I have no idea where to shutdown the chrome binary. I've tried it via the Mojo::IOLoop->on(finish event but that stops the chromedriver to early so that outstanding Selenium requests fail. Thanks Frank -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/58314c80-14ee-4cbe-8e2f-c7a5bebc7c0a%40googlegroups.com.