I am using selenium and xvfb to headlessly visit a webpage with google chromes webdriver (using google chrome, not chromium).
The webpage has a flash iframe with a video in it. When I go to the page, everything loads properly except for the video.
- Is Flash not supported by googles webdriver?
- How can flash be enabled ?
Currently my code looks something like this:
from pyvirtualdisplay import Display
from selenium import webdriver
display = Display(visible=0, size=(800, 600))
display.start()
driver = webdriver.Chrome('path/to/chrome/driver')
I followed this setup: https://christopher.su/2015/selenium-chromedriver-ubuntu/, except I installed the latest ChromeDriver 2.24, not 2.20.