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

idea: should this be a gem that provides a DSL to the users? #6

Open
pietia opened this issue Mar 15, 2013 · 10 comments
Open

idea: should this be a gem that provides a DSL to the users? #6

pietia opened this issue Mar 15, 2013 · 10 comments
Assignees

Comments

@pietia
Copy link
Owner

pietia commented Mar 15, 2013

so that they can define their own versions of per-driver helpers

@ghost ghost assigned pietia Mar 15, 2013
@pietia
Copy link
Owner Author

pietia commented Apr 8, 2013

@polarblau in current shape it has not so many uses cases. it would be cool to give users (programmers) ability to write helpers in the app (using nice DSL).

@polarblau
Copy link
Collaborator

One thing to consider: Should this lib contain “hacks” to make stuff possible across drivers which no driver currently supports? Like e.g. the click_hidden feature?

@pietia
Copy link
Owner Author

pietia commented Apr 8, 2013

That was the original goal. See for example debug_session.

@polarblau
Copy link
Collaborator

Then I think there's very little use for people to write their own helpers as you're usually only using one driver at a time in a project. Maybe add some docs and encourage PRs? (— Why not release this, btw.?)

@pietia
Copy link
Owner Author

pietia commented Apr 8, 2013

I don't like current code structure (only modules :S). Also, it would be
nice to add more helpers :)

@pietia
Copy link
Owner Author

pietia commented Apr 8, 2013

Actually, that's not bad idea! Let's improve the code a bit and post
to capybara google group. If people like the idea - they will add some
helpers :)

@polarblau
Copy link
Collaborator

Debug session is super handy, btw.

@pietia
Copy link
Owner Author

pietia commented Apr 8, 2013

yeah: rm tmp/*.png ; <run spec> ; open tmp/*.png . I can imagine a rake
task for this ;)

@polarblau
Copy link
Collaborator

Maybe it would make sense to automatically remove the images before running specs?

@pietia
Copy link
Owner Author

pietia commented Apr 8, 2013

Of course it makes sense :)

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

2 participants