App automation tests fail a lot on LambdaTest when used network capability?

My app automation tests fail a lot on LambdaTest when I use the network capability, while all the test pass with network false. How do I fetch the network in such case?

Hey Emma,

Hello again! :star2: It sounds like you want to enable a specific capability, DisableXFHeaders, in your configuration. Enabling this capability with a value of true should help resolve many errors, especially when working with network-related tasks.

So, by including the following in your configuration:

network:
  capability:
    DisableXFHeaders: true

You’re essentially telling your system to disable XF (X-Frame-Options) headers, which can sometimes cause issues when interacting with web resources.

Give it a try, and it should help with smoother network operations! If you have any more questions or need further assistance, feel free to ask. We are here to help! :blush: