Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

why in the inspector can not copy a text element?

  • 2 ответа
  • 1 имеет эту проблему
  • 8 просмотров
  • Последний ответ от cor-el

more options

I needed to know the xPath of the text element on the page (win10 x64, Firefox 56.0b9(64bit)). If you select a text element in the Page Inspector, then all copy options will be inactive.

Why is that? Why can't get the link "../ text ()"? So does Chrome. Why can not I copy a text element?

I wanted to copy xPath in Firefox(55) to Ubuntu, but there was not even an option to "copy xpath". Offensively.

Sorry for my bad english)) Thanks for the help))

I needed to know the xPath of the text element on the page (win10 x64, Firefox 56.0b9(64bit)). If you select a text element in the Page Inspector, then all copy options will be inactive. Why is that? Why can't get the link "../ text ()"? So does Chrome. Why can not I copy a text element? I wanted to copy xPath in Firefox(55) to Ubuntu, but there was not even an option to "copy xpath". Offensively. Sorry for my bad english)) Thanks for the help))
Приложенные скриншоты

Все ответы (2)

more options

Not_included said

I needed to know the xPath of the text element on the page (win10 x64, Firefox 56.0b9(64bit)). If you select a text element in the Page Inspector, then all copy options will be inactive. Why is that? Why can't get the link "../ text ()"? So does Chrome. Why can not I copy a text element? I wanted to copy xPath in Firefox(55) to Ubuntu, but there was not even an option to "copy xpath". Offensively. Sorry for my bad english)) Thanks for the help))
more options

It doesn't make sense to get the path of some text. You can only get the path of a specific tag and that should be the containing tag (i.e. the tag that contains this text: P element in first screenshot).