selenium - How to verify radio button is selected or not by default when it's not working with "isiselected()" method -


how verify if radio button selected or not default?

the xpath doesn't contain attributes except class , ng-if attribute (angular web-app). have tried using .isselected() method, it's not working in way.

html element reference:

<div class="spriteimage12 radiobuttonchecked ng-scope" data-ng-if="replacedeactivateiouofferlistflag" style="background: rgb(204, 136, 136); border: 2px solid red;"></div>


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -