Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, while trying to pull data, I cannot pull the data in the field below. I'm trying to pull using pyhton, beautifulsoup. I think 'javascript:void;' I can't because of the area. How can I follow a path here, your help is very, very valuable.



<a href="javascript:void;" id="sellerPhoneRevealButton" class="hidden-phone__reveal-button">class="hidden-phone__reveal-icon">Einblenden</a>


What I have tried:

driver.find_element(By.CLASS_NAME,"hidden-phonereveal-icon").click()

driver.find_element("i", {"class": "hidden-phonereveal-icon"}).click()

driver.find_element(By.ID,"sellerPhoneRevealButton").click()
Posted
Updated 14-Oct-22 23:18pm
Comments
Richard MacCutchan 15-Oct-22 5:46am    
in the first two cases you have not spelled the class name correctly.
test kullanıcısı 15-Oct-22 7:58am    
Yes I understood. But I couldn't shoot it properly. How should I proceed to withdraw?
:(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900