Mam problem z logowaniem na stronę
https://fleets.bolt.eu/v2/login
Delphi 10.4 community
Osadziłem Chrome na formie poprzez CEF4Delphi
działa, pokazuje się strona
następnie chcę się zalogować na powyższą stronę, ale to nie działa.
W przykładzie DOMVisitor dodaję własny przycisk i uzupełniam kod
procedure TDOMVisitorFrm.Button1Click(Sender: TObject);
begin
Chromium1.Browser.MainFrame.ExecuteJavaScript('document.getElementById("email").value= "XXXX";', '', 0);
Chromium1.Browser.MainFrame.ExecuteJavaScript('document.getElementById("current-password").value= "XXXX";', '', 0);
Chromium1.Browser.MainFrame.ExecuteJavaScript('document.getElementsByTagName("form")[0].submit();', '', 0);
end;
Widzę jak dane są uzupełniane ale dostaję komunikat
403 ERROR
The request could not be satisfied.
This distribution is not configured to allow the HTTP request method that was used for this request. The distribution supports only cachable requests. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: Gibb7DRILMn9_uyKFACON7aoTIxXXpg4xHloYcikMlsZf0n2r9rVuQ==
I oczywiście niegatywne logowanie.
Jeżeli w oknie wkleję dane (Ctrl+V) i nacisnę przycisk logowania to logowanie jest prawidłowe.
Może ktoś doradzić co zrobić?