Suppose I have a file with the exported test case. Can I build a browser extension (e.g, in Chrome) that uses some Selenium Core library which would simply run the test? I mean I'd just write something like
var selenium = require(<this is the library I'm looking for>)
var testCase ="<the html code of a test case exported form Selenium IDE>";
selenium.run(testCase);
I failed to find any simple JS library that would make it possible. Is it possible?