Vote count: 0
You know when you visit a page in a website and view the source code, sometimes you see an element execute a javascript function? For example:
<button type="button" id="chocolate" onclick="EditShipment()">Click me</button>
Can I use nightmare to visit this page and execute EditShipment() ? And if so, is it possible to pass in our own arguments to that function's argument?
asked 36 secs ago
Is it possible to execute a function that is written from the javascript of a website with nightmare? Or any other way?
Aucun commentaire:
Enregistrer un commentaire