How to load chrome user profile while launching Chrome & Edge from Playwright framework

Is there a way to load user profile while launching browser through playwright on nodejs framework?

Currently I am able to load the browser profile on my local execution environment by using below command

await browserType.launchPersistentContext(userDataDir);

Can anyone please let me know if we have any workaround for this?