iamyorchdev / iamyorchdev/selenium-fb-group-poster

unable to find post button

Open
#6 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
39
Forks
12
PR merge metrics
No merged PRs in 30d

Description

"post_button = driver.find_element_by_xpath("//*[@data-testid='react-composer-post-button']")
clickable = False
while not clickable:
cursor = post_button.find_element_by_tag_name('span').value_of_css_property("cursor")
if cursor == "pointer":
clickable = True
break
post_button.click()
time.sleep(5)"

Exception -

---------------------------------------------------------------------------
ElementNotVisibleException Traceback (most recent call last)
in
16 clickable = True
17 break
---> 18 post_button.click()
19 time.sleep(5)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.