selenium+chromedriver监测视频流源地址时允许flash自动启用
生活随笔
收集整理的這篇文章主要介紹了
selenium+chromedriver监测视频流源地址时允许flash自动启用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
ChromeOptions options = new ChromeOptions(); options.addArguments("--disable-features=EnableEphemeralFlashPermission"); Map<String, Object> prefs = new HashMap<>(); prefs.put("profile.content_settings.exceptions.plugins.*,*.per_resource.adobe-flash-player",1); options.setExperimentalOption("prefs", prefs); WebDriver driver = new ChromeDriver(options); driver.get("http://app.baiyug.cn:2019/vip/index.php?url=http://v.youku.com/v_show/id_XMjg5NzgyNjA5Mg==.html");轉載于:https://my.oschina.net/junko2013/blog/2395945
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的selenium+chromedriver监测视频流源地址时允许flash自动启用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Unity重置Animator到初始状态
- 下一篇: 分治优化决策单调性