Fake Flash with PhantomJS & Selenium (Python)

断了今生、忘了曾经 提交于 2019-12-08 07:35:17

问题


found this snippet for faking flash in PhantomJS. I use PhantomJS (2.1.1) through Selenium to do various automated tests. The problem is that the web app I'm testing needs flash support enabled. Therefore I want to simply fake it, so I can still let PhantomJS run headless.

My question now is how I should implement the snippet in the above mentioned scenario. My guess right now is that I need to implement it somewhere inside GhostDriver. So hopefully one of you has the right answer for me - thanks upfront from my end :)

来源:https://stackoverflow.com/questions/41360047/fake-flash-with-phantomjs-selenium-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!