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を持っています:
"//div[@id='instructions']//ol[@id='inst']"
しかし、私がOLタグとして持っているのは、OLでもULでもどちらでも構いません。
それを行う方法がわからない。
以下を使用して、ul と ol の両方に一致させることができます。
//div[@id='instructions']//ol[@id='inst'] | //div[@id='instructions']//ul[@id='inst']