Jul-02-2020, 06:15 AM
Hi . Who can help me ?
There is a website.
I make a choice by // span [@ class = "basket-item__price-total_discount js__total-price"] of these 3 pieces
I added 3 books and went to the basket for verification.
How do I get the value 194 & nbsp and 5000 & nbsp into a variable and do the addition?
<span class="basket-item__price-total_discount js__total-price">194 ₽</span>
<span class="basket-item__price-total_discount js__total-price">5000 ₽</span>
you need to check the price of orders and the total price of the order
There is a website.
I make a choice by // span [@ class = "basket-item__price-total_discount js__total-price"] of these 3 pieces
I added 3 books and went to the basket for verification.
How do I get the value 194 & nbsp and 5000 & nbsp into a variable and do the addition?
<span class="basket-item__price-total_discount js__total-price">194 ₽</span>
<span class="basket-item__price-total_discount js__total-price">5000 ₽</span>
you need to check the price of orders and the total price of the order