Selenium Page Object Generator chrome extension

Version: 1.3.1
Selenium Page Object Generator
A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.
3.83 Based on 65 user rates

What is Selenium Page Object Generator?

Selenium Page Object Generator is a developer tools chrome extension. it's a free extension and is featured in Developer Tools, it has 10,000+ active users since released its first version, it earns an average rating of 3.83 from 65 rated user, last update is 2421 days ago.


What’s new in version 1.3.1?

                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            

How to install Selenium Page Object Generator?

You could download the latest version crx file or older version files and install it.


Preview of Selenium Page Object Generator


Technical Features:

  • Latest Version: 1.3.1
  • Requirements: Windows Chrome, Mac Chrome
  • License: Free
  • Latest update: Saturday, April 7th, 2018
  • Author: Richard Huang

Selenium Page Object Generator Available languages:

English (United States).


FAQ


Reviews of selenium page object generator:


Andrei Brebulet July 22nd, 2021
Andrei Brebulet

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


Tauseef Ahmed July 21st, 2019
Tauseef Ahmed

Hello Richard I looking forward to use selenium-page-object-generator from command-line, never had a luck as it throws the below error: node_modules/selenium-page-object-generator/bin/generate.js:100 window.close(); ^ TypeError: Cannot read property 'close' of undefined at Object.done (/Users/<<username>>/node_modules/selenium-page-object-generator/bin/generate.js:100:20) at reportInitError (/Users/<<username>>/node_modules/jsdom/lib/old-api.js:484:12) at ReadStream.resourceLoader.readFile (/Users/<<username>>/node_modules/jsdom/lib/old-api.js:223:11) at ReadStream.emit (events.js:198:13) at lazyFs.open (internal/fs/streams.js:115:12) at FSReqWrap.args [as oncomplete] (fs.js:140:20)


Julio Alva May 10th, 2019
Julio Alva

Once it is understood how it works, this tool allows to reduce considerably the generation time of the classes of the pages.

Read more review & comments of selenium page object generator