问题
I am trying to create a script using Selenium IDE. Trying to enter phone number in the text box field, which accepts the number in the specified format as "(999) 999 - 999"
I have used Sendkeys function which doesn't works for this text box.
Is there anyway to enter numbers to this text box?
回答1:
After SendKeys Command. Can you try using fireEvent command. It will trigger the event for that particular control.
来源:https://stackoverflow.com/questions/31964884/selenium-ide-sendkeys-is-not-working