Skip to content

Commit 2ac6a7d

Browse files
Snailddavison
authored andcommitted
This fixes #498
Signed-off-by: Daniel Davison <[email protected]>
1 parent d8359a1 commit 2ac6a7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py/selenium/webdriver/remote/webelement.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# under the License.
1717

1818
import hashlib
19+
from numbers import Number
1920
import os
2021
import zipfile
2122
try:
@@ -317,7 +318,7 @@ def send_keys(self, *value):
317318
for val in value:
318319
if isinstance(val, Keys):
319320
typing.append(val)
320-
elif isinstance(val, int):
321+
elif isinstance(val, Number):
321322
val = val.__str__()
322323
for i in range(len(val)):
323324
typing.append(val[i])

0 commit comments

Comments
 (0)