-
Notifications
You must be signed in to change notification settings - Fork 25
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
Javascript support #14
Comments
I've looked in to adding this a few times myself, and it seems the root difficultly is that TB is based on mechanize which has no provisions for JS. The logical solution is to move TB to something modern like Capybara. Problem there is that since TB is really just a wrapper for Webrat/Mechanize calls it could break many/most/all existing TB scripts. There would need to be a hard version break, and tours would need to be updated before use on the new branch. (In no way should this sound like a cop-out or a WONTFIX, but instead as a "this is pretty hard.") |
This is definitely the feature that would make me yell at people to start using TourBus. Right now the only way I have seen to get full javascript support is to go with selenium, which makes it problematic to a) run 100 tourbusses on a single laptop and b) run a tourbus from a headless linux box. There's a selenium headless out there now, which might be worth investigating; I think all it does is run firefox or IE pointed at a virtual Xframebuffer though, which means again it might be hard to spin up 100 of them simultaneously on a single machine. |
@xunker Agreed -- I think this level of change would be worthy of a "3.0" version change so people who have it working the way they like would still have that. |
OK so now that phantomjs is an option for browser emulation with javascript execution, are there other alternative projects to tourbus that are doing a similar thing using that? |
"@miah_ For me the biggest stumbling block has been javascript support. I think that would bring TB into the 20-teens decade."
The text was updated successfully, but these errors were encountered: