<package id="Selenium.Support" version="3.14.0" targetFramework="net45" />
<package id="Selenium.WebDriver" version="3.14.0" targetFramework="net45" />
<package id="Selenium.WebDriver.ChromeDriver" version="74.0.3729.6" targetFramework="net45" />
Since this upgrade I am seeing that lot of tests fail which previously worked on ChromeDriver 2.46
1) Simple things like element.SendKeys("ADV9")
I expect the text element to be populated with ADV9 but instead it is sending ADV(
It is taking Shift characters.
2) element.Clear(); used to work previously but now it does not clear. I have to write additional code for this.
textElement.Click();
Actions act = new Actions(Browser);
//clear existing text
act.Click(textElement).KeyDown(Keys.Control).SendKeys("a").KeyUp(Keys.Control).SendKeys(Keys.Backspace).Build().Perform();
act.Click(textElement).SendKeys(text).SendKeys(Keys.Tab).Build().Perform();
3) Actions class functions are not working.
Example MoveToElement, click are not doing anything on the browser.
Sample Code:
actions.MoveToElement(element).SendKeys(productCode).Build().Perform();
Above 3 are very crucial for Selenium tests and this is making me feel that Selenium is pretty much not useful anymore because these basic actions are very flaky and making my tests brittle.
Looks like I have to make lot of workarounds for simple things.
Could you please help.