Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Tipsy gem 作为工具提示。如何使用水豚阅读工具提示文本?
从我在此页面上看到的提示呈现original-title属性。
original-title
要在 Capybara 中获取此属性,您可以使用[] 方法:
find('.class')[:original-title]