Laravel-Selenium icon indicating copy to clipboard operation
Laravel-Selenium copied to clipboard

event press doesnt' work correctly

Open sa-martinezr opened this issue 7 years ago • 1 comments

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.

sa-martinezr avatar Sep 23 '18 19:09 sa-martinezr

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 👍

Modelizer avatar Sep 23 '18 20:09 Modelizer