In below snippet , how do i select the label using the text "No gateway"? I can use ID , but wanted to select by text.
HTML:
<div class="form-group" style="">
<label class="col-xs-12 col-lg-12" for="noGateway" style="background: rgb(204, 136, 136); border: 2px solid red;">
<input type="radio" data-ng-model="proxyType" value="noGateway" name="noGateway" id="noGateway" class="ng-valid ng-touched ng-dirty ng-valid-parse" style="">
No gateway
</label>
</div>