Hi, im trying to monipulate JS on the website so i can enable a button that is disabled
the button code is :
<button class="btn btn-primary create-account-button disabled" data-effect="ripple" data-wdio="createAccountButton" disabled="">
How can i enable it ?
I’ve tried :
runScript | document.getElementsByClassName("btn btn-primary create-account-button disabled").disabled = false;
But it just returns:
#### [error] Element is not found.
Managed to turn the button on, but theres some automation blocking scripting going on, that does not give the button “onClick” action unless a real physical click is performed on the page