You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from Selenide 4.5.0, method $.clear() works differently. It doesn't call WebElement.clear() anymore, but executes "Home -> Shift+End -> Backspace".
It doesn't work properly in Safari. Instead of deleting all characters, it deletes only the last one.
For some reason, the combination "Home -> Shift+End -> Backspace" doesn't work in Safari (it doesn't select the text and deletes only the last character). I also could not find any other key combination that would clear the input.
That's why I decided to use the old WebElement.clear() method in Safari. It means that $.clear() will not work for VueJS/React/... based UIs (see issue #1497).
For some reason, the combination "Home -> Shift+End -> Backspace" doesn't work in Safari (it doesn't select the text and deletes only the last character). I also could not find any other key combination that would clear the input.
That's why I decided to use the old WebElement.clear() method in Safari. It means that $.clear() will not work for VueJS/React/... based UIs (see issue #1497).
The problem
Starting from Selenide 4.5.0, method
$.clear()
works differently. It doesn't callWebElement.clear()
anymore, but executes "Home -> Shift+End -> Backspace".It doesn't work properly in Safari. Instead of deleting all characters, it deletes only the last one.
Tell us about your environment
Code to reproduce the problem:
The text was updated successfully, but these errors were encountered: