Selenium Page Object Generator

#3.83 / 66 rate

Selenium Page Object Generator

10,000 users

2018-04-07

Richard Huang

Extension Information

5 star
42%
4 star
15%
3 star
11%
2 star
14%
1 star
17%

Supported Languages

Permissions

Description

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

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

Reviews

Gavin Cui
Gavin Cui

A good idea to assist selenium automation in POM.

Mars
Mars

You have to keep the Filename short, then the download will start automatically. A lot of people, including me, were confused because there is no explanation on where to find the downloaded java file. It always says it downloaded a java file even though it doesnt. The quality of the generated file is as accurate as you might expect from an automatic generator but its still useful.

Andrei Brebulet
Andrei Brebulet

takes less time to write a PO from scratch than it does to modify the ones generated with this extension

Similar extensions

Selenium Object Finder
Selenium Object Finder

monirul.sk

Selenium Capture + Excel Generator
Selenium Capture + Excel Generator

Ritesh

Selenium IDE
Selenium IDE

https://seleniumhq.org

Applitools for Selenium IDE
Applitools for Selenium IDE

https://applitools.com

XPath Helper
XPath Helper

Adam Sadovsky

Katalon Recorder (Selenium tests generator)
Katalon Recorder (Selenium tests generator)

recorder-services

Element Locator
Element Locator

yehudak

CSS Selector Helper
CSS Selector Helper

jlawrence6809

POM Builder – Auto-generate CSS/XPath Locator
POM Builder – Auto-generate CSS/XPath Locator

https://www.pombuilder.com

Page Object Generator By Storm
Page Object Generator By Storm

Unknown

SnapTest
SnapTest

https://www.snaptest.io

Page Modeller (Selenium, Robot Framework etc)
Page Modeller (Selenium, Robot Framework etc)

Dan Humphrey