0

enter image description here

driver.findElement(By.xpath("//*[@id="myModal"]/div/div/div[2]/div/div[1]/div/div/div/div[1]/input")).sendKeys("Andre Felipe");

I use the code above to fill in the field but it stays fixed. I've tried simulating a click and enter and it didn't work.

I tried to simulate a click and Enter and it didn't work.Selenium managed to type but I couldn't find a way to fix the data in the form field.

  • You mean to say, the element is not accessible? Is it throwing NoSuchElementException? If no exception is thrown, did you try clicking via Actions class? – Ahamed Abdul Rahman Jul 01 '23 at 02:39

0 Answers0