WebDriver Element Locator

Chrome Port of WebDriver Element Locator

什麼是WebDriver Element Locator?

WebDriver Element Locator是由gertdreyer開發的Chrome擴展程式,該擴展的主要功能是“Chrome Port of WebDriver Element Locator”。

擴展截圖

screenshot

下載WebDriver Element Locator擴展crx文件

下載WebDriver Element Locator擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        To use this extension, simply right click on the web element you wish to locate, select an appropriate locator string and it'll be copied to your clipboard.

This extension will attempt to populate the context menu with usable webdriver XPATH-based findElement commands for the dotnet, python and ruby bindings and Support Locator Library references for the focused web element.

To help prevent buggy tests (and save your time debugging), it will also check the locators for uniqueness, signified by red crosses and green ticks.

In addition, if elements have long, fragile, auto-generated attributes such as id="ctl00_ElementContainer_Inputs_txtForename" it will attempt to locate based on the final (and most significant) part of the value only.

If it struggles to locate via attributes it will also attempt to locate via text value.

After installing the extension a browser restart is recommended to ensure the extension functions as expected.                    

擴展基本資訊

名稱 WebDriver Element Locator WebDriver Element Locator
ID cjighmmbcdpbfnhinpakjloafcpmefgl
官方網址 https://chromewebstore.google.com/detail/webdriver-element-locator/cjighmmbcdpbfnhinpakjloafcpmefgl
簡介 Chrome Port of WebDriver Element Locator
檔案大小 21.57 KB
安裝次數 1,406
目前版本 1.5
更新時間 2023-03-16
上架時間 2021-11-24
評分 3.00/5 共 2 次評分
開發者 gertdreyer
電子郵箱 [email protected]
付費類型 free
擴展官網 https://github.com/gertdreyer/WebDriver-Element-Locator/tree/main
說明頁面URL https://github.com/gertdreyer/WebDriver-Element-Locator/issues
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "WebDriver Element Locator",
    "description": "Chrome Port of WebDriver Element Locator",
    "version": "1.5",
    "manifest_version": 3,
    "background": {
        "service_worker": "background.js"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "content.js"
            ],
            "all_frames": true,
            "match_about_blank": true
        }
    ],
    "permissions": [
        "contextMenus"
    ],
    "icons": {
        "32": "webdev-32.png",
        "64": "webdev-64.png"
    }
}