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.
入力要素を選択するコードがあります:
html = html.at_css("input")
非表示の入力を選択 ( ) から除外するには、セレクターをどのように変更する必要がありtype="hidden"ますか?
type="hidden"
これがあなたが望むものだと思います:
html.at_xpath("//input[not (@type='hidden')]")
これを簡単な例でテストしたところ、うまくいくようです。