XPath の覚え書き
contains
my getXPathsByXPath({xpath_:"//tr[contains(@class, \"class_name に含まれる文字\")]"})
position
my getXPathsByXPath({xpath_:"//tr[position() = 1]"})
position() = 1 は [1] の書き方でもよい。
contains と position のあわせ技
set compress_btn_xpath to my getXPathsByXPath ({xpath_:"(//span[@class=\"class_name\" and contains(text(), \"テキスト\")])[position() = 1]"})