Closed mark-lobanov closed 3 years ago
I tested it in the browser and the results were the same, so I didn't think there was any problem with Miniblink.
I replaced my code with
WB.ExecuteJavascript('document.forms[0].password.focus();document.forms[0].password.value="strong_password";');
and problem is gone
What's the difference in javascript ?
Here is this HTML-element:
You can check on this.
it's uncritically issue, you can close it thank you
Hello
I'm try to call JS code
document.getElementsByName("password")[0].value = "strong_password"
but when I select the password fileld it's value becomes emptyI use Delphi wrapper https://gitee.com/LangjiApp/Wke4Delphi My code:
WB.ExecuteJavascript('document.getElementsByName("password")[0].value = "strong_password"');
node.dll version 2020.11.25.0
https://user-images.githubusercontent.com/20513479/103277763-687e4e80-49d2-11eb-9d41-23a840dae39f.mp4
test with url:
https://auth-preprod.ehealth.gov.ua/sign-in?client_id=9a1269f7-b001-43fb-bc8c-32ca4ce80a36&redirect_uri=https://eh-srv-preprod.mcmed.ua/&scope=capitation_report:read client:read connection:delete connection:read connection:refresh_secret connection:write contract:read contract:write contract_request:approve contract_request:create contract_request:read contract_request:sign contract_request:terminate declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:write division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write employee_role:read employee_role:write healthcare_service:read healthcare_service:write legal_entity:read medication_dispense:read medication_request:details otp:read otp:write person:read reimbursement_report:read related_legal_entities:read secret:refresh&email=markl@ukr.net&response_type=code