Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

JS Submit #475

Open
CAUN94 opened this issue Dec 7, 2022 · 2 comments
Open

JS Submit #475

CAUN94 opened this issue Dec 7, 2022 · 2 comments

Comments

@CAUN94
Copy link

CAUN94 commented Dec 7, 2022

is a way to run a js function with goutte?

<input id="ingresar" onclick="submitForm()" name="ingresar" class="btn btn-success" style="width:390px;-webkit-border-radius:0 !important;-moz-border-radius:0 !important;border-radius:0 !important;text-align:center;font-size:18px;font-weight:bold;color:#fff;padding:20px 0;cursor:pointer;background-image:none;" value="Ingresar">

This html change and now i cant submit and when y fill the form i can´t send it.

@stof
Copy link
Member

stof commented Dec 8, 2022

Goutte does not support Javascript.
If you need support for JS, have a look at the symfony/panther package, which implements the symfony/browserkit API on top of WebDriver.

@CAUN94
Copy link
Author

CAUN94 commented Dec 8, 2022

Goutte does not support Javascript. If you need support for JS, have a look at the symfony/panther package, which implements the symfony/browserkit API on top of WebDriver.

can i combine that package with Goutte? or i need to create all the code again?

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

No branches or pull requests

2 participants