Skip to content
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

Open
miah opened this issue Mar 18, 2013 · 4 comments
Open

Javascript support #14

miah opened this issue Mar 18, 2013 · 4 comments

Comments

@miah
Copy link
Collaborator

miah commented Mar 18, 2013

"@miah_ For me the biggest stumbling block has been javascript support. I think that would bring TB into the 20-teens decade."

@xunker
Copy link
Collaborator

xunker commented Mar 18, 2013

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.")

@dbrady
Copy link
Owner

dbrady commented Mar 18, 2013

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.

@dbrady
Copy link
Owner

dbrady commented Mar 18, 2013

@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.

@stevemadere
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants