我想尝试使用python驱动程序的Flash-Selenium,但是我对可用的python扩展有一些担忧,它似乎很陈旧,并且没有关于如何使用它的示例……有没有人在用?有没有关于如何使用它的例子?
发布于 2011-09-26 06:32:28
取自FlashSelenium页面的示例:
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()https://stackoverflow.com/questions/1975244
复制相似问题