Java IE11中的硒超出堆栈空间(但不包括铬)

Java IE11中的硒超出堆栈空间(但不包括铬),java,selenium,internet-explorer-11,Java,Selenium,Internet Explorer 11,我关闭了保护模式,编辑了注册表,确保缩放为100,但此selenium脚本出现错误“堆栈空间不足(警告:服务器未提供任何堆栈跟踪信息)”。评论的chromedriver工作完美 import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.ope

我关闭了保护模式,编辑了注册表,确保缩放为100,但此selenium脚本出现错误“堆栈空间不足(警告:服务器未提供任何堆栈跟踪信息)”。评论的chromedriver工作完美

import java.util.concurrent.TimeUnit; 
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.ie.InternetExplorerDriver; 
import io.github.bonigarcia.wdm.InternetExplorerDriverManager;


public class CssSelectors implements Runnable{

    public static void main(String[] args) throws InterruptedException{
        InternetExplorerDriverManager.getInstance().setup();
        InternetExplorerDriver driver = new InternetExplorerDriver();    
        test(driver);           
    }

    public static void test (WebDriver driver) throws InterruptedException{
        driver.get("https://www.tripadvisor.com/");
        driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS); 
        driver.findElement(By.id("searchbox")).sendKeys("tokyo");

        }
}

错误信息是什么?你能删掉所有非代码吗?堆栈空间不足(警告:服务器没有提供任何stacktrace信息)为你在问题中添加了这些信息。不幸的是,我没有IE11可以在上面试用:(还提到了必须在您的路径上的IEDriverServer可执行文件。是吗?我可能已经发现了问题。
driver.findElement(By.id(“searchbox”)).sendKeys(“东京”);
driver.findElement(By.cssSelector(“searchbox”).sendKeys(“东京”)时不起作用
doesWhat's error message?您能删掉所有非代码吗?堆栈空间不足(警告:服务器没有提供任何堆栈跟踪信息)将该信息添加到问题中。不幸的是,我没有IE11来尝试此功能:(还提到必须在您的路径上的IEDriverServer可执行文件。是否存在?我可能已经找到问题。
driver.findElement(By.id(“searchbox”))。sendKeys(“东京”);
不起作用,而
driver.findElement(By.cssSelector(“searchbox”)。sendKeys(“东京”)
不起作用