We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be useful to be able to bundle helpers with Element classes?.
E.g.
module GitHub class SearchField < PageMagic::Element bundled_helpers do def search term end end end class HomePage include PageMagic url 'https://github.com' element SearchField end github = GitHub::HomePage.visit(browser: :chrome) github.search('page_magic') # using bundled helper here. end
This could be tricky to implement but possibly useful?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would it be useful to be able to bundle helpers with Element classes?.
E.g.
This could be tricky to implement but possibly useful?
The text was updated successfully, but these errors were encountered: