Publicação

Ajuda com Selenium WebDriver

foto de
Mauricio Dallacourt

Como posso pegar o valor "price" nesse codigo html?


<button class="bf-bet-button ng-isolate-scope back-button back-selection-button" data-bet-type="back" data-ng-class="::{'is-sp': isSp}" type="back" depth="0" price="19" size="R$85" to-fraction="vm.events.getFractionalOdd(runner.back.fractionalOdd)" highlight="false" ng-click="vm.events.betButtonClick(runner.key, runner.selectionId, vm.data.betTypeConfiguration.back, runner.back.price, runner.handicap, marketId, event.marketName, runner.name)" ng-disabled="vm.data.isDisabled(event, runner.selectionId)" is-selected="false" selection-id="310510" title="18/1"><!-- ngIf: ::isSp --><!-- ngIf: ::!isSp --><div class="bf-bet-button-info ng-scope" data-ng-if="::!isSp"><span class="bet-button-price">19</span> <span class="bet-button-size">R$85</span></div><!-- end ngIf: ::!isSp --></button>

Comentários