首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Flash-Selenium和Python

Flash-Selenium和Python
EN

Stack Overflow用户
提问于 2009-12-29 23:39:02
回答 1查看 2.8K关注 0票数 4

我想尝试使用python驱动程序的Flash-Selenium,但是我对可用的python扩展有一些担忧,它似乎很陈旧,并且没有关于如何使用它的示例……有没有人在用?有没有关于如何使用它的例子?

EN

回答 1

Stack Overflow用户

发布于 2011-09-26 06:32:28

取自FlashSelenium页面的示例:

代码语言:javascript
复制
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()
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1975244

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档