UI.Vision + antidetect browser

Hello, please tell me how to enable UI.Vision in the antidetect browser? I can install browser extensions but it doesn’t see Xmodules. I understand correctly that you need to somehow connect via the API? How to do it? The documentation for the antidetect browser says:
"Browser profiles based on the Anty engine can be run with the DevTools Protocol enabled. This means that after running the profile, you can connect to it through the port generated at startup and be able to automate the browser using tools such as Puppeteer, Playwright, Selenium etc. More about DevTools protocol.

Thus, basic automation consists of three steps:

1.Run the profile via an API with DevTools Protocol enabled
2.Connect to the profile port using an automation tool (Puppeteer, Playwright, Selenium, etc.)
3.Run your own automation script via an open connection."