None of the examples are working on Pop!_OS 18.10 (Ubuntu) with GNOME Shell 3.30.2
I have:
$ gsettings get org.gnome.desktop.interface toolkit-accessibility
true
e.g., Output of python gedit-test-utf8-procedural-api.py
:
/usr/lib/python2.7/dist-packages/dogtail/utils.py:111: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
if child.name == appName:
Creating logfile at /tmp/dogtail-aral/logs/gedit-test-utf8-procedural-api_20190402-144730_debug ...
Clicking on [push button | Save]
Mouse button 1 click at (601.5,63.0)
Warning: gedit-test-utf8-procedural-api.py:55: The requested widget could not be focused: child with roleName='file chooser':
focus.widget.findByPredicate(GenericPredicate(roleName='file chooser'))
Warning: gedit-test-utf8-procedural-api.py:66: The requested widget could not be focused: child with name="Desktop" roleName='table cell':
click('Desktop', roleName = 'table cell')
Traceback (most recent call last):
File "gedit-test-utf8-procedural-api.py", line 66, in <module>
click('Desktop', roleName = 'table cell')
File "/usr/lib/python2.7/dist-packages/dogtail/procedural.py", line 364, in __call__
Click.node.click(button)
AttributeError: 'NoneType' object has no attribute 'click'