Xpath0r

Get robust relative xpaths

Xpath0rคืออะไร?

Xpath0r เป็นส่วนขยายของ Chrome ที่พัฒนาโดย http://sites.google.com/site/kevinbouge และคุณลักษณะหลักของมันคือ "Get robust relative xpaths"

ภาพหน้าจอของส่วนขยาย

screenshot

ดาวน์โหลดไฟล์ CRX ของส่วนขยาย Xpath0r

ดาวน์โหลดไฟล์ส่วนขยาย Xpath0r ในรูปแบบ crx และติดตั้งส่วนขยาย Chrome ด้วยตนเองในเบราว์เซอร์หรือแชร์ไฟล์ crx กับเพื่อนๆ เพื่อติดตั้งส่วนขยาย Chrome อย่างง่ายดาย

คำแนะนำในการใช้ส่วนขยาย

                        When clicking an element on a web page, this extension tries to provide a choice of robust relative xpath expressions which are displayed in the console. It also tries to provide a trust score so that unexperienced people can pick one of the best xpath expressions.

For example, for an h1 element on the page:

81% - //p[contains(@class, "h1")]
58% - //p[@role="heading" and contains(@class, "h1")]
50% - //p[contains(@role, "heading") and contains(@class, "h1")]

Or for a link:

90% - //a[@data-hash-id="skype-for-android"]
87% - //a[contains(@data-hash-id, "android")]
81% - //a[contains(@href, "android") and contains(@data-hash-id, "android")]
79% - //a[contains(@class, "learnMore") and contains(@href, "android")]
79% - //a[contains(@class, "learnMore") and contains(@data-hash-id, "android")]
77% - //a[contains(@class, "showOverlay") and contains(@data-hash-id, "android")]
71% - //a[contains(@href, "download") and contains(@data-hash-id, "android")]
50% - //a[contains(@href, "android") and contains(@data-hash-id, "for")]                    

ข้อมูลพื้นฐานของส่วนขยาย

ชื่อ Xpath0r Xpath0r
ID nbbcbecdpkoglhojicjbmacepbgecnfp
URL อย่างเป็นทางการ https://chrome.google.com/webstore/detail/xpath0r/nbbcbecdpkoglhojicjbmacepbgecnfp
คำอธิบาย Get robust relative xpaths
ขนาดไฟล์ 23.89 KB
จำนวนการติดตั้ง 22
เวอร์ชันปัจจุบัน 1.5.0
อัปเดตครั้งล่าสุด 2015-03-02
วันที่เผยแพร่ 2015-03-02
ผู้พัฒนา http://sites.google.com/site/kevinbouge
ประเภทการชำระเงิน free
ภาษาที่รองรับ en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "all_frames": true,
            "run_at": "document_end",
            "js": [
                "Xpath0rLib.js",
                "content.js"
            ]
        }
    ],
    "name": "Xpath0r",
    "icons": {
        "128": "icons\/icon128.png",
        "48": "icons\/icon48.png",
        "16": "icons\/icon16.png"
    },
    "web_accessible_resources": [
        "icons\/*"
    ],
    "description": "Get robust relative xpaths",
    "background": {
        "persistent": false,
        "scripts": [
            "main.js"
        ]
    },
    "homepage_url": "http:\/\/cz.linkedin.com\/in\/kevinbouge\/",
    "version": "1.5.0",
    "manifest_version": 2,
    "browser_action": {
        "default_icon": "icons\/icon16.png",
        "default_title": "Xpath0r"
    },
    "permissions": [
        "tabs",
        "http:\/\/*\/*",
        "https:\/\/*\/*",
        "contextMenus",
        "webNavigation",
        "notifications"
    ]
}