I'm working on an open source library, but some of the functionality requires that I emulate a browser. I hear it's possible to launch an instance of the browser, but if I'm running on linux, I don't think all browsers will be available, and vice versa, safari wouldn't be available on anything but a Mac. So is there a browser emulator that sys admins here know of, preferably something open source because I'm working on open source code.
Any possible solutions I'm overlooking?
Please forgive me if I'm not upvoting helpful answers. My rep is below the level required to upvote. But thank you nonetheless.