can't post on Facebook with selenium (python)

49 views
Skip to first unread message

Parth Kabariya

unread,
Dec 4, 2018, 8:36:17 AM12/4/18
to Selenium Users

I was able to post on Facebook some days ago with selenium(python)

I could find post textBox with this below method

    driver.find_element_by_xpath("//textarea[@name='xhpc_message']")

but it seems Facebook has made some changes recently so it's not working anymore. and I am not even able to post any link with https or www anymore with

    element.send_keys("https://.....");

I have tested manually It's working but not with selenium(python)

so any way to work around it, any help

Joe Ward

unread,
Dec 4, 2018, 9:50:49 AM12/4/18
to seleniu...@googlegroups.com
Accessing and collecting data from Facebook using automation is against their Terms of Service so I doubt anyone can help you with this.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f1ebf3db-2f93-4301-9d29-9e6bbe27b6b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages