I just set up Selenium WebDriver in my machine and try to run a basic test on Firefox and it fails with below error:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
Can't find symbol 'eglSwapBuffersWithDamageEXT'.
Can't find symbol 'eglSetDamageRegionKHR'.
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
Below are my driver versions:
Selenium = 2.53
Firefox browser - 83.0
Gecko driver - 28.0
Instructor
Ashish Thakur Replied on 24/11/2020
I use 76 and dont update it
it works fine
Thank you Ashish!
I have downgraded Firefox to 76 now.
I tried below 2 ways and running into the same issue again.
1:
System.setProperty("webdriver.gecko.driver", "C:\\Users\\rames\\OneDrive\\Documents\\Mamatha\\Selenium\\geckodriver.exe");
DesiredCapabilities capabilities=DesiredCapabilities.firefox();
capabilities.setCapability("marionette", true);
WebDriver driver = new FirefoxDriver(capabilities);
driver.get("http://www.google.com");
2:
WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com");