Having trouble with a selenium javascript code that splits a string? Here's the specific code:
<tr>
<td>storeEval</td>
<td>var dList = '${StaffAdminEmail}'.split('@'); </td>
<td>dsplit1</td>
</tr>
<tr>
<td>echo</td>
<td>${dsplit1}</td>
<td></td>
</tr>
<tr>
<td>storeEval</td>
<td>day = '${dsplit1}';</td>
<td>dsplit2</td>
</tr>
<tr>
<td>echo</td>
<td>${dsplit2}</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=school_permalink</td>
<td>${dsplit2}</td>
</tr>
Here is where the issue might be occurring:
${StaffAdminEmail} <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c2ffa7baa3ffb0b30090909093ddbdb8">[email protected]</a>
If you have any insights on how to solve this problem, please let me know!