Javascript 使用selenium编辑电子邮件正文
编辑器字段中已包含HTML文本。 我想用硒来清除它 以下是网站的代码Javascript 使用selenium编辑电子邮件正文,javascript,selenium,Javascript,Selenium,编辑器字段中已包含HTML文本。 我想用硒来清除它 以下是网站的代码 <div id="EmailText" style="display: none"> <table id="tabbgcol1" cellspacing="0" cellpadding="0" style="padding: 0px; font: inherit; color: inherit;"> <tbody> <tr> <td
<div id="EmailText" style="display: none">
<table id="tabbgcol1" cellspacing="0" cellpadding="0" style="padding: 0px; font: inherit; color: inherit;">
<tbody>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" align="left" style="color: inherit; font: inherit;">
<tbody>
<tr>
<td id="colcol21">
<p>Hello,</p>
<p>AS would like your feedback!</p>
<p>We thank you for your time and participation.</p>
<p>Sincerely,</p>
<p>Saket</p>
<p>ZASD</p>
<span style="font-size:11px;font-family:Verdana, Arial, san-serif;"></span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
你好,
正如我希望你的反馈
感谢您的时间和参与。
真诚地
萨凯特
扎斯德
是否可以在此处编辑单个段落。或者我应该清除它。我无法在此处找到文本字段
使用此id
id=“colcol21”
会导致找不到元素。是否在
标记内?请添加您尝试的代码和错误消息(如果有)。谢谢,但我已解决了它。使用id=tabbgcol1并清除整个字段。必须对id使用cssSelector。