How to set chrome browser in offline mode

How to set chrome browser in offline mode using katalon studio. Manually we press F12 and disable the network. how to automate the same using katalon.

i am not sure if i understand properly your question …
but this is what is comming into my mind right now:

  • set it through capabilities (not sure if possible)
  • do it from blah/flags (should be possible since every setting in chrome is reflected there)
  • anything else i don’t have in mind right now (i am lazy to dig)

feel free to explore or wait for another relevant answer

@Ibus You’re absolutely correct.

Here are two options:

  1. The ChromeOptions interface is called Network Connection and the setting you’re looking to change is Connection Type
  2. The flag to adjust the connection type:
1 Like