Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I once wanted to control the generation of Python code from selenium tests. The selenium UI does this with javascript (it has javascript code that can convert a selenium test to Python). Instead of rewriting their whole conversion library from js to Python, I used spidermonkey to just run the javascript.

The end result was, I had a Python module that could take a recorded selenium test and output Python code to run that test. The only dependency was spidermonkey.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: