The browser from the Mini Browser project is used. This site
driver-services.dvsa.gov.uk/obs
uses captcha for verification. After completing the check, the site considers that the check was not passed and displays an error page. Same behavior in browser BriskBard.
When using the Chrome or Edge browser, the site recognizes the captcha check and shows the authorization page.
It follows from the Fiddler logs that after checking the captcha, the site receives the result that the check was not passed.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
The site does not accept captcha verification
- salvadordf
- Posts: 4084
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: The site does not accept captcha verification
Hi,
There was a low recaptcha score issue in CEF browsers a few years ago :
https://www.magpcss.org/ceforum/viewtopic.php?t=17571
I just checked a beta version of MiniBrowser with Chromium 108 and it gets 0.9 :
https://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php
Even with that score I keep getting the "Access denied Error 15" page in driver-services.dvsa.gov.uk/obs.
I tried the TinyBrowser2 demo using the Chrome runtime mode and I also get the "Access denied Error 15" page.
I haven't tried but perhaps this can be avoided if you use the user agent and settings of a cell phone using the MobileBrowser demo.
In any case, this seems to be detecting CEF browsers but it doesn't detect WebView2 browsers. If you really need to access that page use WebView4Delphi instead of CEF4Delphi.
There was a low recaptcha score issue in CEF browsers a few years ago :
https://www.magpcss.org/ceforum/viewtopic.php?t=17571
I just checked a beta version of MiniBrowser with Chromium 108 and it gets 0.9 :
https://recaptcha-demo.appspot.com/recaptcha-v3-request-scores.php
Even with that score I keep getting the "Access denied Error 15" page in driver-services.dvsa.gov.uk/obs.
I tried the TinyBrowser2 demo using the Chrome runtime mode and I also get the "Access denied Error 15" page.
I haven't tried but perhaps this can be avoided if you use the user agent and settings of a cell phone using the MobileBrowser demo.
In any case, this seems to be detecting CEF browsers but it doesn't detect WebView2 browsers. If you really need to access that page use WebView4Delphi instead of CEF4Delphi.
Re: The site does not accept captcha verification
Many thanks for the help. Indeed, the standard component TEdgeBrowser (Delphi 10.4) allows you to open the page and pass the test. One line of code
and the presence of WebView2Loader.dll (version 0.9.579.0). You just need to remember that WebView2Loader.dll are 32 and 64 bits and use the appropriate version.
Code: Select all
webMain.Navigate('https://driver-services.dvsa.gov.uk/obs');
Re: The site does not accept captcha verification
I also tested the WebView4Delphi browser in the MiniBrowser demo project. It works great and allows you to pass the сaptcha verification on the mentioned page.