We plan on using Selenium with JavaScript
, so I got Selenium Webdriver
with WebDriverIO. I can successfully create a js script and run it via Test Runner
.
But being a Selenium noob, I also got Selenium IDE, in the hopes that I could use that just to help me get started with simple stuff and then improve / expand on the scripts that that creates. But JavaScript is not in the export options. So I found actually 2 packages that are supposed to be used for this:
selenium-html-js-converter, or selenium-ide-js-converter.
I am having trouble getting started with these. The IDE converter seems really simple / easy, except that its documentation just states
use the command
require('selenium-ide-js-converter')('html folder
name','js folder name')
But, Where? / How?? And the HTML converter just seems really complicated.
I tried searching for a tutorial or something on using either of these but to no avail. Has anyone used the IDE converter that could help me with just that one step? Or does anyone have more specific and helpful documentation on using the HTML converter, if that is what I ought to use instead?
Thank you!