【发布时间】:2016-09-25 22:34:35
【问题描述】:
如何使用 python WebDriver 在 html 标签之间放置文本?
<!--html cod-->
<span class="py"></span>
<!--I want to put text between span tag with python WebDriver like this-->
<span class="py">text</span>
【问题讨论】:
-
@orde:这个问题与在 DOM 元素中插入文本有关;这个问题是关于在 元素之间插入文本。
标签: python html python-2.7 python-3.x selenium-webdriver