使用硒点击一个瑞士法郎 [英] Use selenium to click on a swf
本文介绍了使用硒点击一个瑞士法郎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
id =FLASH_0_23458974594
,我试过使用 id = / ^ FLASH _([0-9] + _)[0-9]( [0-9] +)/
或 id =FLASH_glob:*
,但IDE并没有选取swf。我在这里做错了什么? 谢谢。
解决方案
你试过包含?
点击| // object [contains(@ id,'FLASH_')]
I'm trying to use Selenium IDE to click on a swf in a html page. The DIV id and Embed id change depend on the timestamp e.g. id="FLASH_0_23458974594"
, I've tried using id=/^FLASH_([0-9]+_)[0-9]([0-9]+)/
or id="FLASH_glob:*"
but the IDE is not picking up the swf. Am I doing something wrong here?
Thanks.
解决方案
Have you tried contains?
click | //object[contains(@id,'FLASH_')]
这篇关于使用硒点击一个瑞士法郎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文