xpath與css_selector

xpath與css_selector定位詳解 例題:分別用xPath和css_selector定位下圖的img標籤   答案:  xpath:.//*[@id='fstscr']/div[3]/div[2]/a/img             css_selector: .special>a>img   (一)xPath詳解:       xpath:.//*[@id='fstscr']/div[
相關文章
相關標籤/搜索