WebDriver: do not try to set the caret when focusing non text element in send keys...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2018 06:53:03 +0000 (06:53 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2018 06:53:03 +0000 (06:53 +0000)
commit62f458e8bd20cb51a232ac9f8e77d7790d500e58
treeea3574cd543665887064ae6b8b6048d915583f86
parent0adf87dd84b585768c72e88fbc7b03130e5bc40f
WebDriver: do not try to set the caret when focusing non text element in send keys command
https://bugs.webkit.org/show_bug.cgi?id=188515

Reviewed by Brian Burg.

It causes a type error exception.

* Session.cpp:
(WebDriver::Session::elementSendKeys):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebDriver/ChangeLog
Source/WebDriver/Session.cpp