Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium emojis

#The Chrome Webdriver can't send emojis. A few workarounds exist:
#1. Firefox Webdriver can send emojis. Switching is relatively painless,but slowed down my program by 15 seconds (4 emojies, 80 char string)
#2. You can use driver.execute_script('JSCODE', LOCATIONTOEXECUTE)/
# to execute a script inside the textbox area, using Javascript to send the emojis as keystrokes, etc...
 
PREVIOUS NEXT
Tagged: #selenium #emojis
ADD COMMENT
Topic
Name
4+8 =