An example taken on the FlashSelenium page:
from com.thoughtworks.selenium.FlashSelenium import FlashSelenium from com.thoughtworks.selenium.selenium import selenium url = "http://flashselenium.t35.com/colors.html" browserType = "*firefox" selenium = selenium("localhost", 4444, browserType, url) selenium.start() selenium.open(url) flashApp = FlashSelenium(selenium, "coloredSquare") flashApp.percent_loaded()
Dave source share