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
官方URL 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"
    }
}