内容简介:點擊 menu by code點擊 單字操作內容
操作方式
點擊 menu by code
$('[code="action-betting"] a').click()
點擊 單字
Content.showBannerProperties('DANGEROUS_ATTACK')
操作內容
Content.properties[7].Value
儲存
$x("//*[contains(text(),'Save')]")[0].click()
//透過字面
$x("//*[contains(text(),'Mobile')]")[0].click() 點選
$x("//*[contains(text(),'Mobile')]/parent::*")[0].click() 展開
//透過 code
$x("//*[@code='siteblocks']")[0].click() 展開
$x("//*[@code='siteblocks']/a")[0].click() 點選
$x("//*[@id='TabListPlace']/descendant::*[contains(text(),'Site management')]")[0].click()
以上所述就是小编给大家介绍的《使用 Xpath 操作 Chrome Browser》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
HTTP Developer's Handbook
Chris Shiflett / Sams Publishing / 2003-3-29 / USD 39.99
The largest group with an unsatisfied demand for a good book on HTTP is the worldwide group of Web developers. A good book on HTTP can help new and old Web developers alike, as a thorough understandin......一起来看看 《HTTP Developer's Handbook》 这本书的介绍吧!