Getting the message "Desired capabilities are deprecated with Selenium 4"?

I’m attempting to run automated tests, but I keep receiving the message “Desired capabilities are deprecated with Selenium 4” For the capability generation, I’m utilizing a capability generator. How do I now pass the capabilities?

Hi Darran,

Due to Selenium 4 deprecation of the requested capabilities, you can pass the capabilities using LTOptions.

If you need the syntax, please look to the Selenium 4 tab in the LambdaTest Capability Generator.