I want to add idle timeout in my script. I am using Pytest, how do I go about it?

I want to add idle timeout in my script. I am using Pytest, how do I go about it ?

Hi, Emma Crepeau,

You just need to add the capability for an idle timeout in your desired capabilities as given below

capabilities = {
                "build": "your build name",
                "name": "your test name",
                "platform": "Windows 11",
                "browserName": "Chrome",
                "version": "103.0",
              "idleTimeout": "125",
        }

You can also refer: