skip to Main Content

Get text from a span element – Woocommerce

It is a dynamic span. I want to get the number that keeps changing. In this case it would be 436 Code trials: valorliquido = navegador.find_element_by_css_selector("span[class="woocommerce-summary__item-value"]") Got: valorliquido = navegador.find_element_by_css_selector("span[class="woocommerce-summary__item-value"]") ^ SyntaxError: invalid syntax Snapshot of the HTML:

VIEW QUESTION
Back To Top
Search