我正在使用selenium webdriver(Java)来自动化我的应用程序。我遇到了一个无法为注销链接创建Xpath的地方.HTML代码同样是 - >无法在selenium webdriver中创建用于注销链接的Xpath
<a id="e-modepanel-logout-anchor" class="s-mode-link" onclick="AAA.DSq.ELU(event, 'e-modepanel-logout', 'EPH');;" style="font-weight:bold;" href="#">Logout </a>
请有人告诉我一个适当的XPath same.Thanks提前
把反引号标记或4个空格,使HTML可见。 –
感谢提示 –