小编mar*_*bug的帖子

执行Angular ng-if条件后,Selenium DOM不会更改

我们在页面上有以下代码,它具有角度ng-if条件.

<p ng-if="!old_email" style="line-height: 20px; font-weight: normal;"><b>Hi,</b><br><br>
    We have created a new account with &rsquo;{{ new_email }}&lsquo;, for you on<br> Plobal Apps to preview and test your app and mailed you the details. Please check your inbox.
</p>

<p ng-if="new_user && old_email" style="line-height: 20px; font-weight: normal;"><b>Hi,</b><br><br>
  We have created a new account with &rsquo;{{ new_email }}&lsquo;, for you on<br> Plobal Apps to preview and test your shopify app and mailed you the details. Please check your inbox.
  <br />
  You …
Run Code Online (Sandbox Code Playgroud)

java selenium qa selenium-webdriver angular-ng-if

10
推荐指数
1
解决办法
470
查看次数

标签 统计

angular-ng-if ×1

java ×1

qa ×1

selenium ×1

selenium-webdriver ×1