SELENIUM Click

hi, how do i select the button that is BOOK with selenium

<div class="depo__tabs tabs tabs_modal ng-tns-c72-4">
	<div class="tabs__buttons ng-tns-c72-4">
		<div class="tabs__button ng-tns-c72-4"> BOOK </div>
	<div class="tabs__button ng-tns-c72-4 ng-star-inserted">
		<div class="tabs__icon icon ng-tns-c72-4 icon_banknote"></div>
	<div class="tabs__text ng-tns-c72-4"> PENCIL </div></div>
		<div class="tabs__button ng-tns-c72-4 ng-star-inserted">
	<div class="tabs__icon icon ng-tns-c72-4 icon_steam"></div>
		<div class="tabs__text ng-tns-c72-4"> TASK </div></div>
	<div class="tabs__button ng-tns-c72-4 ng-star-inserted">
		<div class="tabs__icon icon ng-tns-c72-4 icon_vortex-dollar"></div>
	<div class="tabs__text ng-tns-c72-4"> EXCEL </div></div>
		<!----><div class="tabs__button ng-tns-c72-4"> Direct EXCEL </div></div><!----><!---->
	<div class="tabs__content payment payment_modal ng-tns-c72-4 ng-star-inserted">
		<div class="payment__scroll scroll scroll_default scroll_vertical ng-tns-c72-4">
	<div class="payment__content ng-tns-c72-4 ng-star-inserted">
		<div class="method method_default ng-tns-c72-4 ng-star-inserted">
	<div class="method__wrapper ng-tns-c72-4"><!---->
		<div class="method__card ng-tns-c72-4 ng-star-inserted">
.tabs_modal .tabs__button:not(:last-child)

this worked

1 Like