D
D
Dmitry Loginov2019-08-12 22:33:28
Python
Dmitry Loginov, 2019-08-12 22:33:28

How to delete multiple characters in a textbox using selenium?

Greetings.
The problem is this: using selenium, you need to remove several characters from the text field.
I used the following code: in chromdriver it worked correctly, but in geckodriver, instead of deleting it, it prints some kind of krakozyabry: Is it somehow done differently in mazilla?
inputTotalf.send_keys('\b\b\b')
5d51beb3871c4542556235.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Yakushenko, 2019-08-12
@Gusik1984

inputTotalf.clear()
or

inputTotalf.click()
inputTotalf.clear()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question