Why am I not able to login to Quora using an automation package like Selenium or FireWatir?
-
I am able to login into Facebook and other websites ? from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get("") elem = driver.find_element_by_name("email") elem.send_keys("my_email") elem_pass = driver.find_element_by_name("pass") elem_pass.send_keys("password") elem.send_keys(Keys.RETURN) driver.close()
-
Answer:
I dont know where are you having problem ?? This code works for me ! from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() driver.get("https://www.quora.com/") email = driver.find_element_by_name("email") email.send_keys("my_email") # Your email_id passwd = driver.find_element_by_name("password") passwd.send_keys("my_password") # Your password passwd.send_keys(Keys.RETURN) driver.close()
Gaurav Jain at Quora Visit the source
Other answers
elem_pass = driver.find_element_by_name("pass")are you sure you have the correct name in your code the value for name is âpasswordâ not âpassâ, hope this helps.
Boney Dsilva
Related Q & A:
- Why am I not able to retrieve offline messages?Best solution by Yahoo! Answers
- Why am i not able to do voice chat with the new downloaded Yahoo messenger?Best solution by Yahoo! Answers
- Why am I not able to connect with the Yahoo Messenger?Best solution by Yahoo! Answers
- Why am I not able to send SMS using Yahoo Messenger?Best solution by Yahoo! Answers
- Why am I not able to access my yahoo mail after I login in?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.