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.
テキストが含まれる最初のテーブル行にあるリンクをクリックしたいと考えています。
私は次のことを試しました
within(all('tr').select {|elt| elt.text == "desired text" }.first) do all('a').first.click end
残念ながら、真の条件を満たしていないため、コードは実行されませんでした。おそらく、「いいね」コマンドまたは部分的なテキスト検索が必要です。
どうすればこれを行うことができますか?