feat: add FacebookBot class to automate posting comments with images using uiautomator2
This commit is contained in:
@@ -85,6 +85,7 @@ class FacebookBot:
|
|||||||
if current_post_count == post_index:
|
if current_post_count == post_index:
|
||||||
comment_btn = btn
|
comment_btn = btn
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
logging.info(f"Đã thấy bài viết thứ {current_post_count}, đang đẩy nó vào góc khuất để tìm bài {post_index}...")
|
logging.info(f"Đã thấy bài viết thứ {current_post_count}, đang đẩy nó vào góc khuất để tìm bài {post_index}...")
|
||||||
bounds = btn.info["bounds"]
|
bounds = btn.info["bounds"]
|
||||||
start_y = bounds["bottom"]
|
start_y = bounds["bottom"]
|
||||||
|
|||||||
Reference in New Issue
Block a user