# Request interception with chrome console

**URL:** <https://forum.katalon.com/t/request-interception-with-chrome-console/36515>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [November 19, 2019, 10:39am UTC](https://forum.katalon.com/t/request-interception-with-chrome-console/36515 "2019-11-19T10:39:53Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [June 9, 2022, 9:35am UTC](https://forum.katalon.com/t/request-interception-with-chrome-console/36515/11 "2022-06-09T09:35:41Z")

</div>

> [@Jens.gr](#):
>
> We are waiting for a few rest request to finish and collect the data to it.

Years have passed. Selenium4 has been released, which provides Chrome DevTools Protocol support. Selenium4 is what @Jens.gr wanted.

> **[What's new in Selenium 4: Key Features | BrowserStack](https://www.browserstack.com/guide/selenium-4-features)**
>
> What is new in Selenium 4 version? Read this article to understand about major changes in the new version of Selenium toolsuite - Selenium 4. Find out.

> #### **5. Support for Chrome Debugging Protocol**

> Selenium 4 comes with native support for Chrome DevTools Protocol. This means QAs can now use Chrome development properties like Fetch, Network, Profiler, Performance, Application cache, and more. QAs can also leverage the APIs offered by Chrome DevTools to [simulate poor network conditions](https://www.browserstack.com/guide/how-to-perform-network-throttling-in-chrome) and perform [geolocation testing](https://www.browserstack.com/geolocation-testing).

> Using this API will also help developers or QAs to test and resolve critical bugs for specific web-pages faster and on the fly.

Please note that this article is published by Browserstack.

Unfortunately Katalon Studio is NOT yet ready for Selenium 4. I am afraid KS is getting behind.

> [@Studio 8.2.1.alpha is now available with Selenium 4!](http://forum.katalon.com/t/studio-8-2-1-alpha-is-now-available-with-selenium-4/61011/3):
>
> Selenium 4 supported Chrome DevTools Protocol. Chrome DevTools Protocol is also called CDP for short. See [this article](https://rahulshettyacademy.com/blog/index.php/2021/11/04/selenium-4-key-feature-network-interception/). I wanted to use CDP Network commands. For example, I wanted to fetch HTTP Request’s Headers (including Cookies) sent from Chrome to Web server. So I tried to write a Test Case that calls CDP through Selenium. In Katalon Studio v8.2.1-alpha, I wrote the following Test Case. This script is supposed to retrieve console logs in the DevTools. I copied this from [this article](https://www.qed42.com/insights/coe/quality-assurance/selenium-4-api-chrome-devtools) impor…

---

_[View the full topic](https://forum.katalon.com/t/request-interception-with-chrome-console/36515)._
