"ntent_.*,*.per_resource.adobe-flash-player": 1,ĭriver_options.add_experimental_option("prefs", prefs)ĭriver = webdriver. "ntent_ugin_whitelist.adobe-flash-player": 1, # driver_options.add_argument("-incognito")ĭriver_options.add_argument("-start-maximized")ĭriver_options.add_argument(r"-ppapi-flash-path=path of pepflashplayer.dll")ĭriver_options.add_argument("-ppapi-flash-version=29.0.0.113")ĭriver_options.add_argument("-disable-bundled-ppapi-flash") from selenium import webdriverĭriver_options = webdriver.ChromeOptions() Normally, sites and plug-ins crash due to incompatible versions running at the same time. You can easily resolve this by updating your browser and the flash player. if do not active -incognito mode, the video can be shown automatically. There are various reasons why the flash player is not working on Chrome and the most common is an outdated browser and plugin. Here's my code, when i active -incognito mode, though the page load the flash succesfully, then i must click the video area to enable it. there's a website with video area need loading flash. I want it can load and enable the flash in -incognito mode.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |