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