I've got some trouble with sending functional keys (F1-F12).
If I send F1 key as "\uE030":
Key_F1 = u'\uE030'
driver.send_keys(Key_F1)
than I've got error Unknown WebDriver key(57392) at string index (0). F1 key defined in Qt as: Key_F1 = 0x01000030.
But if I set Key_F1 to "\uE031" (as for key F2) - than all ok and application received F1 key event.
As I can understand, in Qt Web Driver, in source file src/webdriver/extension_qt/q_key_converter.cc in array QKeyConverter::kSpecialWebDriverKeys missed some element.
Hello all!
I've got some trouble with sending functional keys (F1-F12).
If I send F1 key as "\uE030":
than I've got error
Unknown WebDriver key(57392) at string index (0)
. F1 key defined in Qt as:Key_F1 = 0x01000030
.But if I set Key_F1 to "\uE031" (as for key F2) - than all ok and application received F1 key event.
As I can understand, in Qt Web Driver, in source file src/webdriver/extension_qt/q_key_converter.cc in array QKeyConverter::kSpecialWebDriverKeys missed some element.