- There is a google Chrome extension called Selenium Page-Object Generator.
-- It can be found here: [url removed, login to view]
-- This is the source code for the extension: [url removed, login to view]
- Install it and try it out. It allows test code to be generated in Java/C#/Robot framework for any website that is loaded.
- However, this works as an browser extension. I want to run this from command prompt as a node.js script. The extension uses the page that is already loaded, for the command prompt version, I want to provide a HTML source file instead. I should also have option to provide argument as JAVA/C#/ROBOT. The command line arguments should be something like this:
$node [url removed, login to view] [url removed, login to view] JAVA
- The extension seems to be already very well organized, we may just need to change the input hooks.