0

I have automated chrome with Python Selenium Webdriver. Is there any chrome option or method to stop waiting for third party resources ?

When i launched google-chrome in debug mode, it's waiting on below google fonts for 2 minutes.

Environment Limitations 1. No internet 2. No sudo permission

This is not a rendering issue, browser is waiting on those resources and selenium is giving timeout exception. Need to stop this waiting time and continue automation without errors.

Ara
  • 63
  • 1
  • 7
  • Maybe [this](https://stackoverflow.com/questions/22011139/google-fonts-are-not-rendering-on-google-chrome) – user1207289 May 28 '20 at 15:30
  • it's not a rendering issue, browser is waiting on those resources and selenium is giving timeout exception. Need to stop this waiting time – Ara May 28 '20 at 15:40

1 Answers1

0

Selenium Wire has a way of waiting for requests to finish before proceeding with test execution. See https://pypi.org/project/selenium-wire/#waiting-for-a-request

Dillon Miller
  • 763
  • 1
  • 6
  • 18