How can I pass capabilities in Selenium 4 ?I'm using TestNG framework

How can I pass capabilities in Selenium 4 ?I’m using TestNG framework