Ability to specify an authentication token when connecting to a remote chrome
I am using browserless and it requires to connect to chome using a token. https://docs.browserless.io/baas/docker/quickstart#1-run-it-with-some-sensible-defaults
I have checked the docs and source code and there is no option to specify the token. Can we add support for that?
Sure. Feel free to open a PR. Looks to me as it shouldn't be all too hard to do, since it only requires changes around here and here
I guess, since you want to pass in the websocket connection string directly maybe it is nice to add a second option next to chrome_address like chrome_ws, specifying the websocket string directly as a binary.
Or maybe we can reuse chrome_address and add a second case for a binary starting with ws:// that skips the fetching all together, just using the passed string.
Wdyt @maltoe ?