Flash Support "Dummy Browser"
Closed this issue · 2 comments
Hi,
I want to know how I can add support to Flash.
browser = spynner.Browser(debug_level=spynner.DEBUG)
browser.create_webview(True)
browser.show()
browser.set_html_parser(pyquery.PyQuery)
browser.load("https://www.siteWithFlash.com")
browser.load_jquery(True)
browser.wk_fill('input[id=logid]', username)
browser.wk_fill('input[id=password]', password)
browser.click("input[name=ingresar]")
browser.wait_load()
browser.close()
Thanks for this amazing Lib dude!
Regards,
Nelson.
I found this. (https://www.youtube.com/watch?v=bGtIFRjketc)
with this setthing, we can enable flash in the dummy browser.
QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, True)
I found in the code where you put the setting.
browser.set_web_settings()
But I cant access to that method.
AttributeError: 'Browser' object has no attribute 'set_web_settings'
PD: I have the last version.
Metadata-Version: 1.1
Name: spynner
Version: 2.19