Skip to content

Tag: selenium

Text is not printed when using selenium

This is the code I have written so far: This doesn’t print out the price, please help. This is what the output terminal looks like. I want to get this price: Answer The value of the price is blank. You should replace the tailing span[1] with span[2] in your xpath Here is the code – Output –

How to scrape the login website using selenium

I am trying to scrape data but first Click on Language, select English, then click advanced search but they will give me error these is website https://www.counselingcalifornia.com/Find-a-Therapist Answer The reason is iframe. language drop down is in iframe. In Selenium automation, if the webelements are wra…

Selenium with Python not able to fully open the website

I have tried the following code and tried to open the website as mentioned: The website opens with the Chrome Browser but not with the Selenium using Python. Please let me know what should I do to open the website completely. Answer You can run it with chrome options. I am able to launch your application with…

Selenium Python Checkbox Click

I am trying to access the following HTML checkbox for a button click: using: but keep getting error: what might be the element path I am looking for in order to select the checkbox? Answer Your xpath is most likely incorrect – you need to enter // before the element as this will find all (single slash /…