Custom Selenium/Puppeteer webdriver?

Hey, I could not find any info about using custom webdriver with OB2, is it possible?
If this feature does not exist in the compiled version, what should I change in the source code to make a custom driver work? The browser uses a random port every time it is launched, so it might be a problem too.
Additional info: I’m trying to launch the browser, and then connect to it via selenium/puppeteer.

Ended up doing what I need in python, but still interested in solution!