Can I automate Chrome request blocking using Selenium-webdriver for Ruby?

后端 未结 3 2016
无人共我
无人共我 2020-12-09 23:27

I am a QA automation analyst responsible for testing a multi-platform online banking application. For our automation testing we use RubyMine suite with Gherkin/Cucumber, Rub

3条回答
  •  不知归路
    2020-12-09 23:55

    Try https://github.com/lightbody/browsermob-proxy

    I dont know if it can satisfy your requirement as I am no way a network expert, I do use browsermob-proxy extensively to capture network request along with selenium and there is a method to blacklist certain request

    https://browsermob-proxy-py.readthedocs.io/en/stable/client.html#browsermobproxy.Client.blacklist

    How to disable loading external urls on seleniumlibrary/robotframework

提交回复
热议问题