Good morning, I have a problem in java using the command sendKeys with the libraries of SELENIUM.
The text field ,in question, is visible in the window only when you scroll down to see it.
var element = driver.FindElement(By.Xpath("…"));
element.SendKeys("blah");
So, when the text field is visible in the window the message "blah
" is sent to the text field element without any problem.
Instead ,when the text field element is not visible in the window ,because I don't scroll down it, the message "blah
" isn't sent to the text field.
How can I solve this problem? I would like to send the message "blah" to the text field element also when it doesn't appear in the window . How I can I do it?