DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg driver = webdriver.Remote(
Hi Devan
To answer your request, the desired capabilities are deprecated in Selenium 4. Kindly refer to the Selenium 4 tab in the capability generator: https://www.lambdatest.com/capabilities-generator