Selenium Page Object Generator Selenium Page Object Generator

Developer Tools
Version: 1.3.1
Last Update: 2018-04-07

User Reviews


avatar Mars
2021-10-18

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.

avatar Andrei Brebulet
2021-07-22

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

avatar Tauseef Ahmed
2019-07-21

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)

avatar Julio Alva
2019-05-10

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

avatar Petronela Ciconova
2019-04-15

I would need to identify elements by data-test-id attributes. Is it possible to do somehow?

avatar Aditya Wagh
2019-03-21

I am new to selenium.I have seen many POM articles and examples.
Why does this plugin generate return type Page name for all the methods??
Is it a good practice?

avatar Taylor Murphy
2018-09-25

Ridiculous description. To improve your agile testing process "velocity"? An essential tool to improve my workflow? I have no idea what the extension even does. As a result, after trying it, I discovered it was useless to me. And the code it produces is just repeated boilerplate over and over with slight variations. I feel sorry for anyone who has to use the output of this extension.

avatar Delfin Devassy
2018-07-25

Hi Richard,

Selenium project has deprecated - using OpenQA.Selenium.Support.PageObjects;

Can you please consider update this to traditional .Net page object pattern with expression body?

Sample format -

private IWebElement addThisCourse = Driver.FindElement(By.CssSelector("button.btn.btn--success.mod-margin-left-20"));

avatar Srikanth Narayanan
2018-05-14

WIll it capture for IFrames? it doesn't.... Kindly let us know if you have ideas about including iframe as well

avatar Vijay Vedachalam
2018-04-30

not sure why people say its not working. it generated the page in no time. But we need to clean up as it has generated for all elements. But this expected

Related Extensions