Skip to content

Tag: selenium

How to get the value of an element within a tag?

I want to get the values of data-account and data-id which are elements within play-js tag. elemname = driver.find_elements_by_xpath(‘xpath…/div/play-js’) I tried like below, but I couldn’t get the value. With javascript, I was able to import it with the code below. How can I get the v…

Python Selenium unclickable button

I am working with the following website: www.offerte.smartpaws.ch I am trying to use the French site: www.offerte.smartpaws.ch/fr I have a piece of code that works with the German part but for some reason I get an error when trying to do the same thing on the French side, even if the elements are identical. I…