我已经在机器人类的帮助下打开了一个搜索对话框,但是现在我尝试在那个搜索对话框中输入文本,但是它没有在机器人按键的帮助下进入文本。源代码如下所示driver.findElement(By.xpath("//*[@id=\"sale_dtl_ig_toolbar\"]/div[1]code search dialog window appears with one search dropdown
/
" to “但是无法从selenium获取键。在输出中,它显示无法定位元素。"To“是在iframe,我用过我的框架,但也不起作用。import org.openqa.selenium.By;import org.openqa.selenium.firefox.FirefoxDriver//*[@id='lo