RuntimeError: превышена максимальная глубина рекурсии при вводе текста в AXTextField
Как избежать RuntimeError: maximum recursion depth exceeded
во время ввода текста в AXTextField.
OS: Mac OS High Sierra 10.13.4
Module: pyatom(atomac)
RunTimeError Message:
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 378, in _sendKeyWithModifiers
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 278, in _sendKey
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 227, in _addKeyToQueue
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 378, in _sendKeyWithModifiers
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 278, in _sendKey
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 227, in _addKeyToQueue
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 378, in _sendKeyWithModifiers
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 278, in _sendKey
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 227, in _addKeyToQueue
File "/Library/Python/2.7/site-packages/atomac-1.1.0-py2.7-macosx-10.8-intel.egg/atomac/AXClasses.py", line 375, in _sendKeyWithModifiers
RuntimeError: maximum recursion depth exceeded
В качестве альтернативы я назначаю AXValue напрямую, как показано ниже,
textFieldElement.AXValue = '<Value>'
Но я надеюсь / думаю, что должен быть хороший вариант для ввода текста в Atomac.