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

event press doesnt' work correctly #56

Open
sa-martinezr opened this issue Sep 23, 2018 · 1 comment
Open

event press doesnt' work correctly #56

sa-martinezr opened this issue Sep 23, 2018 · 1 comment
Labels

Comments

@sa-martinezr
Copy link

Hi,
I'm learning how to use Laravel-Selenium making a basic excersise.
I have an input submit which have the value "Guardar"
captura

And this is my test, where I perform the press event.

captura

But when I run the test, an error occurs trying to find the button.

captura

Thanks in advance.

@Modelizer
Copy link
Owner

Currently press is only supporting button tag. https://github.com/Modelizer/Laravel-Selenium/blob/master/src/Services/InteractWithPage.php#L243

You can raise a PR to add this functionality 👍

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

No branches or pull requests

2 participants