In selenium grid 4, The session distribution takes care of by the selenium hub itself. (I.e if we mention the hub URL, it will automatically assign the available nodes) So How we can mention the remote URL to launch the browser in a user-specific URL
driver.set(new RemoteWebDriver(new URL(HubURL), cap));