Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium 无法单击不可选择=';在';在chrome中使用webdriver_Selenium_Webdriver - Fatal编程技术网

Selenium 无法单击不可选择=';在';在chrome中使用webdriver

Selenium 无法单击不可选择=';在';在chrome中使用webdriver,selenium,webdriver,Selenium,Webdriver,有一个下拉菜单,旁边有一个箭头,打开一个子菜单。我无法点击chrome中的下拉列表,因为它在ie中工作 我尝试了鼠标悬停和点击,并建立了动作。但它不起作用 代码如下: <div id="navigatortab" class=" x-plain undefined sd_nav_tabpanel x-border-panel" style="left: 0px; top: 0px; width: 1600px;"> <div id="ext-gen32" class="supp

有一个下拉菜单,旁边有一个箭头,打开一个子菜单。我无法点击chrome中的下拉列表,因为它在ie中工作

我尝试了鼠标悬停和点击,并建立了动作。但它不起作用

代码如下:

<div id="navigatortab" class=" x-plain undefined sd_nav_tabpanel x-border-panel" style="left: 0px; top: 0px; width: 1600px;">
<div id="ext-gen32" class="support-servicedesk-navigator">
<table id="ext-comp-1014" class="x-btn support-servicedesk-sb support-servicedesk-sbactive caseMru x-btn-noicon" cellspacing="0" style="width: 180px; height: 26px; background-image: none; background-color: transparent;">
<tbody class="x-btn-small x-btn-icon-small-left">
<tr>
<tr>
<td class="x-btn-ml">
<td class="x-btn-mc">
<em id="ext-gen41" class="x-btn-split" unselectable="on">
<button id="ext-gen33" class=" x-btn-text" type="button">
<div class="mruIcon"></div>
<span>Cases</span>
</button>
</em>
</td>
<td class="x-btn-mr">
</tr>
<tr>
</tbody>
</table>
</div>

案例

你能从Webdriver向我们提供代码吗?好的,
unselectable=“on”
属性仅在IE和Opera中使用。也许,这就是重点?正如@screenmutt所说,如果你收到一条异常消息,就发布你的代码、预期/实际行为和异常消息。