modified, but I also modified the base.py. The reason that I rewrote this present function is because it would take a really really really really long time for keyboard to click something. set the search timeout would greatly improve the usage of this.