-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research if Selenium IDE HTML files could be converted to JS #1798
Comments
Testing conversion for @Nazarah 's anonymous user tests in apinf-testing repo |
Converted successfully, running with Phantom is really fast, so would need to add some waits explicitly. Takes also nice screenshot on test failure point 8-) |
@Nazarah your yesterday's Selenium IDE clicks in generated JS. |
HTML files don't have info about usage of implicitWait, I'll try if I can add it somehow for generated JS. EDIT: added manually browser.setImplicitWaitTimeout(5000); to generated JS test case. |
Reported issue for author: |
Issue with setWindowSize, flyingfisher/selenium-html-js-converter#16 Defaults to very narrow window, cannot find Catalogue link as it's collapsed. |
setWindowSize would need solution, otherwise great package. Putting this on hold. |
Got answer from author @flyingfisher but unfortunately package is not maintained, just possible bugs are fixed. |
any possible solutions ? |
@FirassKoubaa FYI window resizing was our only problem with the package, looks like reported possible bug is now commented, tested & closed flyingfisher/selenium-html-js-converter#16 (comment) I am no longer in this project, @bajiat maybe Apinf-team would like to try if it works out now, and used parameter format (missing comma) was just wrong like commented in the issue. |
Would save lots of time if we could generate tests with Selenium IDE and output tests as JavaScript.
This one uses sync-wd to run tests and has conversion functions to output JS:
https://www.npmjs.com/package/selenium-html-js-converter
Also look if there are other options for conversion if above one doesn't work
The text was updated successfully, but these errors were encountered: