seldom icon indicating copy to clipboard operation
seldom copied to clipboard

Chrome Driver 配置 DesiredCapabilities

Open chaosannals opened this issue 4 years ago • 2 comments

截图 chrome driver 创建时,只有远程的会应用 DesiredCapabilities 参数。 是否也给下面的加上?

chaosannals avatar Dec 14 '20 03:12 chaosannals

不使用远程不需要用到 DesiredCapabilities 参数

defnngj avatar Dec 19 '20 01:12 defnngj

DesiredCapabilities.CHROME = { 'browserName': 'chrome', "version": "", "platform": "ANY", 'loggingPrefs': { 'browser': 'ALL', 'driver': 'ALL', 'performance': 'ALL', }, 'goog:chromeOptions': { 'perfLoggingPrefs': { 'enableNetwork': True, }, 'w3c': False, }, } 我因为要配置 chrome 所以需要用到这个,要拿到请求后的响应信息。 请问 seldom 有获取请求信息之类的接口吗?

chaosannals avatar Dec 21 '20 01:12 chaosannals