Zarkonnen / se-interpreter

Interpreter for Selenium Builder JSON scripts based on node.js and wd.
34 stars 31 forks source link

storeEval window #40

Open ghost opened 10 years ago

ghost commented 10 years ago

I was digging through and noticed storeEval worked (cool) even though it's not declared (not sure of where the abstraction is yet). I also noticed that in Selenium Builder, I can say return window.someObject in the script config, run it through the Firefox plugin, and have the test pass, but on the Node.js side using this project, window can not be found. Is there planned support for this? Hints on how to make that work?

Zarkonnen commented 10 years ago

Surprised it doesn't work, as the JS should just get executed in the browser context. Can you post an example script? I'll have a look.