【问题标题】:How can I get value of element custom attribute with Watir如何使用 Watir 获取元素自定义属性的值
【发布时间】:2009-09-18 09:29:49
【问题描述】:

我的 HTML 看起来像这样:

<input custom_attribute="so cool" type="text" />

我想使用Watir 获得custom_attribute 的值。

【问题讨论】:

    标签: html internet-explorer watir


    【解决方案1】:

    【讨论】:

    • 不幸的是,此答​​案中 Watir 文档的最后 3 个链接是死链接。我现在做不到,但是有人可以提供更新的链接吗?
    • @artlung:我已经修复了链接。谢谢你告诉我。
    • 太棒了!!你救了我的命
    猜你喜欢
    • 1970-01-01
    • 2021-11-21
    • 2020-12-13
    • 1970-01-01
    • 2023-03-08
    • 1970-01-01
    • 2013-11-20
    • 2013-04-16
    • 2021-07-20
    相关资源
    最近更新 更多