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.
最近は xpath をよく使っています。
頂いたアドバイスをもとに、今からcssをたくさん使い始めようと思います。
次のようなxpath式をどのように取得しますか
//tr[td[contains(.,'6 Day')]][1]/td[8]/a@href
それをcssに変換しますか?
私は試した
tr.td:contains('6 Day'):nth(1) > td:nth(3) > a[href]
しかし、私はエラーが発生しました
小さな間違い、私は持っていたはずです:
tr td:contains('6 Day'):nth(1) > td:nth(3) > a[href]