Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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).