从跨度字符串中仅提取第一行-imacros

时间:2018-11-28 06:07:16

标签: imacros

我想提取span字符串的第一行。 例如,选择"000-0000"并获得xpath,但imacros找不到它。

如果选择span,将立即提取字符串,但是将包括许多换行符和空格,如下面的第二张图片所示。当在页面上显示时,它是五行的干净单位,如图像左侧所示。

请教我。像这样如何提取span的字符串的第一行。

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

0 个答案:

没有答案