javascript - Selenium set Browser Chrome in OffLine mode -
i testing javascript application in chrome browser. want load page, , once loaded switch browser offline mode.
note don´t want start browser in offline mode mentioned here: selenium: how set browser in offline mode?. instead want start browser connected , switch off , specific moment.
note don´t want manually mouse, because creating automated test selenium. need able send instruction go offline somehow script.
is there anyway using chrome that? modify browser configuration executing javascript? (probably not security reasons still wondering)
thanks help.
as written in of. release notes:
chromedriver v2.26 (2016-12-09)
resolved issue 984: extend chromedriver capabilities cover network throttling feature chrome devtools [['os-all', 'pri-2']]
here full history log task. there no example, , no answer how works.
Comments
Post a Comment