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 Even basic code like breaking (in Safari, not Firefox): The point where my code is breaking: 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: name_of_input_box are not working on Safari. Why are they doing this?
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);
emailInput.clear ();
Search email input box clearing for input box
Try to click on the element before clearing it.
Comments
Post a Comment