Selenium Page Object Generator

A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.

什么是Selenium Page Object Generator?

Selenium Page Object Generator是由Richard Huang开发的Chrome扩展程序,该扩展的主要功能是“A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.”。

扩展截图

screenshot
screenshot
screenshot

下载Selenium Page Object Generator扩展crx文件

下载Selenium Page Object Generator扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Selenium Page Object Generator is an essential tool to improve your workflow. It will generate Page Object Model on active Chrome tab with a single click, provided that all the options and template are configured. The generated Page Object Model will be saved to pre-configured Chrome download folder. It strives to reduce manual involvement, but manual tweak still recommended.

The template is using Handlebars.js expression, a clean logic-less semantic templating language.

This is an early BETA release, it expected to have rough edges, and limited functionality. It currently support 3 different targets: Java, C#, and Robot Framework.

*** "Restore to Factory Options" required to take advantage of latest changes ***

For more information on how to use the generated Page Object file:

Java: https://code.google.com/p/selenium/wiki/PageFactory#The

C#: http://relevantcodes.com/pageobjects-and-pagefactory-design-patterns-in-selenium/#post-5229

Robot Framework: http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#taking-resource-files-into-use

Support Chrome 40 and later versions.

Disclaimer: Running Selenium Page Object Generator on somebody else's web page may or may not be illegal. Selenium Page Object Generator is intended for the use of any individual or entity on their own web page for the purpose of creating Page Object Model, and the Selenium Page Object Generator author will take no responsibility if it is put to any other use.

Version 1.3.1
* Fixes potential security vulnerabilities

Version 1.3.0
* Bugfixes and remove potential security vulnerabilities

Version 1.2.10
* Bugfixes

Version 1.2.9
* Bugfixes

Version 1.2.8
* Bugfixes

Version 1.2.7
* Cleanups

Version 1.2.6
* Bug fixes
* Offline support

Version 1.2.5
* Bug fixes

Version 1.2.4
* Bug fixes

Version 1.2.3
* Bug fixes

Version 1.2.2
* Employ more strategies to get label text
* Remove redundant equal sign in Robot Framework template
* Bug fixes and follow static analysis results

Version 1.2.1
* Add rating link in share section
* Popup will open in the middle of the screen
* Generate button stay disabled on hover
* Bug fixes and follow static analysis results

Version 1.2.0
* Consider node attribute as a possible element selector
* HTML decode attribute value
* Add message listener once
* Allow longer text in the documentation
* Add radio button value in attribute collection
* Remove radio button argument from operation
* Templates adjustment
* Add fallback mechanism for Options button
* Code restructure

Version 1.1.2
* Employ better and broader mechanism to get label text

Version 1.1.1
* Cancel default action on Options button click
* Rearrange object deep copy to die gracefully
* Use more specific CSS selector base on siblings and element type
* Consider element value for input button and submit for label text
* Adjust wording for root selector

Version 1.1.0
* Change default visibility to all (visible and hidden elements)
* Add textarea support
* Add support for email, number, search, tel, and url input type
* Add different approach to get element text more reliably
* Add support for label without identifier
* Add support for prefixed element type
* Add restore to factory settings
* Add AngularJS locators option for test framework that has support for it
* Add option to limit the page area that one would like to generate from
* Fix page object namespace that get dropped off from file name and generated page object
* Robot Framework template adjustments
* Add more documentation on generated page object for class instance return
* Fix C# XML documentation format

Version 1.0.5
* Fixed page name initial validation
* Faster popup load

Version 1.0.4
* Responsive layout adjustment
* Swapped "Options" and "Settings" wording
* Page name validation will be run on popup load,
   this will make Page Name more obvious as a required field
* Mail sharer now support both native mail client and web-based client

Version 1.0.3
* Changed wording for "Model Name" to "Page Name"
* Changed wording for "Target Name" to "Destination Page Name"
* Changed wording for "More Options" link to "Settings" button
* Added share via email

Version 1.0.2
* Validate text visibility with viewport consideration
* Remove redundant information from generated CSS selector
* Removed all special characters from variable and method name
* Cleanups
* Bug fixes

Version 1.0.1
* Initial product launch                    

扩展基本信息

名称 Selenium Page Object Generator Selenium Page Object Generator
ID epgmnmcjdhapiojbohkkemlfkegmbebb
官方URL https://chromewebstore.google.com/detail/selenium-page-object-gene/epgmnmcjdhapiojbohkkemlfkegmbebb
简介 A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.
文件大小 335 KB
安装次数 12,587
当前版本 1.3.1
更新时间 2018-04-08
上架时间 2018-04-07
评分 3.83/5 共66次评分
开发者 Richard Huang
付费类型 free
扩展官网 https://github.com/rickypc/selenium-page-object-generator
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "author": "Richard Huang ",
    "browser_action": {
        "default_icon": {
            "19": "assets\/icons\/icon19.png",
            "38": "assets\/icons\/icon38.png"
        },
        "default_popup": "popup.html"
    },
    "content_security_policy": "script-src 'self' 'unsafe-eval' https:\/\/www.google-analytics.com; object-src 'self'",
    "description": "A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.",
    "homepage_url": "https:\/\/github.com\/rickypc\/selenium-page-object-generator",
    "icons": {
        "16": "assets\/icons\/icon16.png",
        "48": "assets\/icons\/icon48.png",
        "128": "assets\/icons\/icon128.png"
    },
    "manifest_version": 2,
    "minimum_chrome_version": "40",
    "name": "Selenium Page Object Generator",
    "options_ui": {
        "chrome_style": true,
        "page": "options.html"
    },
    "permissions": [
        "activeTab",
        "downloads",
        "storage"
    ],
    "short_name": "PO Generator",
    "version": "1.3.1"
}