java - Selenium - why doesn't thread.sleep work in safari? -


In Firefox, I can slow down Selennium using the thread.sx (xx) I am, but I can not slow it down in Safari. Please do not wait for me to look for the element.

There is a user who has faced the same problem:

This honestly has not shown anything useful.

Besides this, some other basic things like name_of_input_box are not working on Safari. Why are they doing this?

Even basic code like breaking (in Safari, not Firefox):

  log ("search for input box"); WebElement emailInput = (New WebDriverWait (Driver, 10)). Unless (required conditions .resenceOfElementLocated (by .name ("email"))); Logs ("clear email input box"); EmailInput.clear (); Log in ("send key" + e-mail + "in input box"); EmailInput.sendKeys (email);  

The point where my code is breaking:

  emailInput.clear ();  

If I try to capture around it then there is a warning message

The element is currently not interactive and can not be used

My logs here:

  Search email input box clearing for input box  

Try to click on the element before clearing it.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -