t.getCurrentCDPSession Method

Important

This method is exclusive to Native Automation mode. Each open browser window establishes a separate, independent CDP session.

The t.getCurrentCDPSession method returns a Chrome DevTools Protocol object that allows you to examine and control the current automation session. It cannot be chained with other TestController methods.

If you use the TestCafe proxy, the return value is undefined.

Why We Use Cookies

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress privacy policy and cookie policy.