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

Add an interface for drivers that support JavaScript #752

Open
jhedstrom opened this issue Dec 6, 2017 · 2 comments
Open

Add an interface for drivers that support JavaScript #752

jhedstrom opened this issue Dec 6, 2017 · 2 comments

Comments

@jhedstrom
Copy link

There is no current way to tell if a driver will support JavaScript without doing a try/catch, which is the proposed approach over in jhedstrom/drupalextension#325

It would be nice if instead an interface was available to check for.

jhedstrom added a commit to jhedstrom/Mink that referenced this issue Dec 6, 2017
@aik099
Copy link
Member

aik099 commented Dec 6, 2017

How does Behat knows that when you use @javascript annotation?

@jhedstrom
Copy link
Author

I think Behat just uses whatever is configured as the javascript_session in behat.yml...

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