I am new to selenium.
I want to validate the dynamic content of a web application. All the content is coming from database on the basis of some business logic. I have done with google search but got no success to find a solution.
Below is the HTML code which contains dynamic data in {{Curly}}
brackets
<label class="form-check-label form-text" [for]="plan.planId">
<input type="radio" class="input-radio" [id]="plan.planId" name="selectPlan" [value]="plan.planId" [(ngModel)]="selectPlanOption">
{{plan.device}} - <span id="deviceLabel" class="text-uppercase"></span> <b><span id="animatedText" class="animate-text yellow-text weight-class">
${{plan.price}} ({{plan.discount}})</span></b>
</label>
Also, I have a doubt.
Is it good practice to validate dynamic content in Selenium?
Anyone help would be appreciated.
Thanks in advance.