There is a open feature request on Github regarding the use of Socks5 proxy w/ auth in Playwright-python (https://github.com/microsoft/playwright/issues/10567). It seems that the issue is on the browser side (Firefox and Chromium does not support this SOCKS5 with authentication)