Developer Tools

Selenium Page Object Generator


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:



Robot Framework:

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
Related posts
Developer Tools

Browserling - Cross-browser testing

Developer Tools

IP Address and Domain Information

Developer Tools

APK Downloader for Google Play Store™

Developer Tools



Comments are closed.