Gecko Driver issues. - Yash-777/SeleniumDriverAutomation GitHub Wiki
UNEXPECTED_ALERT_BEHAVIOUR.IGNORE
is not supported by GeckoDriver.
String firefoxVersion = "55", FF_DriverPack = "v0.19.0";
capabilities.setCapability(CapabilityType.UNEXPECTED_ALERT_BEHAVIOUR,
UnexpectedAlertBehaviour.IGNORE);
Exception:
org.openqa.selenium.InvalidArgumentException:
ignore was not a valid `unhandledPromptBehavior` value.
//unhandledPromptBehavior was not a the name of a known capability or a valid extension capability
Issue commented by Yash-777
- Bug 1264259
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.UNEXPECTED_ALERT_BEHAVIOUR,
UnexpectedAlertBehaviour.DISMISS);
driver.close()
issue966
.
org.openqa.selenium.SessionNotCreatedException: Tried to run command without establishing a connection
Build info: version: '3.5.1'
Solution:
boolean isGechoDriver = true;
if (!isGechoDriver) {
driver.close();
}
driver.quit();
driver.manage().window().maximize();
works incorrectly in Firefox gecko driver; issue993
Solution:
if (!isGechoDriver) {
driver.manage().window().maximize();
}
While signing selenium-3
jar we have faced some problem. To overcome this, we need to remove duplicate files in jar and then we need to sign the jar file.