im trying to solve a recaptcha from this website https://app.cfe.mx/aplicaciones/CCFE/SolicitudesCFE/Solicitudes/ConsultaTuReciboLuzGmx.aspx
I´ve already put the token inside captcha input (#g-recaptcha-response) however in this recaptcha there is no submit button, first I thought that this issue couldbe solved by finding the callback so the problem is that there is no callback...
so my question is when i put the token inside the captcha input is there any way to trigger the green check?
Related
I use Python and the selenium libary. My problem is that on the internet page top.gg when you vote there is a H captcha that opens automaitically. The problem is I can't find a callback function. I use 2captcha to get the token. Does anyone have a clue how to solve such a H captcha. Or is there a hidden callback function. There is at least no submit button and if you press outside the captcha the captcha is closed and the vote process is terminated. And you have to vote again.
I already tried it with the add on from anycaptcha callback hooker Callback hooker. This uses this script in the console (document.getElementById('anycaptchaSolveButton').onclick('TOKEN_FROM_STEP_4');)
Problem is with me this always gives an error (
Uncaught TypeError: document.getElementById(...).onclick is not a function)
I have a problem with bypass Arkoselabs Funcaptcha with selenium on Twitter page.
I cant submit token because there is not any submit button.
When I try to paste token and just click random pictures I get wrong answer error.
I also tried to solve captchas by getting captcha picture and instructions, request something like 2captcha and click on images. It worked before, but now there is new type of captcha with arrows. When I did the same things I just get wrong answer from 2captcha.
Do you know what should I do?
c# code. Similar to this in Python
var captchaToken = "3084f4a302b176cd7.96368058|r=ap-southeast-1|guitextcolor=%23FDD531|......";
((IJavaScriptExecutor)chrome).ExecuteScript("parent.postMessage(JSON.stringify({eventId:'challenge-complete',payload:{sessionToken:'" + captchaToken + "'}}),'*')");
I'm working on simple program based on python and selenium.
The program fills all fields with some personal information and sends the information with "confirm" button.
Once the button is pressed, a CAPTCHA must be solved, is there a way to detect the captcha, solve it manually and then send the answer?
The program is in headless mode and I read that it is impossible to disable this mode when code is running...I was thinking to find the CAPTCHA as a "link" and open it on a second page maybe.
Is there any way to do this?
I try to login a site automatically by selenium.
My script sometimes works smoothly but sometimes it does not send full-text of user name or passwork to relavant inputs so it then failed to login.
I try to insert implicitly_wait but it appears not to solve this problem totally.
I wonder if there is any function to require the webdriver to fullfill each of input before excecute another one in selenium.
Here is may attempt:
browserdriver.get(url)
#fill username
browserdriver.implicitly_wait(25)
psusername=browserdriver.find_element_by_xpath("//*[#class='form-group'][1]/input[#name='username']")
psusername.click()
psusername.send_keys("1234567890")
#fill password
browserdriver.implicitly_wait(25)
pspass=browserdriver.find_element_by_xpath("//*[#class='form-group'][2]/input[#name='password']")
pspass.click()
pspass.send_keys("abcdefgfk12345")
browserdriver.implicitly_wait(25)
pssubmit=browserdriver.find_element_by_xpath("//*[#class='login-btn']/button[#type='submit']")
pssubmit.click()
Pls, explain for me why I get stuck on this problem and how to solve it! thanks alot
EDIT1: I add the target site address: click here You should click on login words (Đăng nhập) on the top right screen to see the popup login pannel.
EDIT 2: Thank to guide of below comments, I try to add some code lines to force it to key individual letter and it appears to work well so I add solution here:
text_input="1234567890"
for i in text_input:
psusername.send_keys(i)
Use set attribute instead of sendkeys
here is the example code:
webdriver.executeScript("document.getElementById('elementID').setAttribute('value', '1234567890')");
Need some help about captcha solving with API. I use Python.
This is site where captcha is - https://www.inipec.gov.it/cerca-pec/-/pecs/companies
I use API (https://azcaptcha.com/document) to solve Captcha. When captcha has solved, the result needs to be paste in special form.
But there is no submit button to pass it.
THere is some advice in API documentation:
Sometimes there's no submit button and a callback function is used
isntead. The function is executed when reCaptcha is solved.
Callback function is usually defined in data-callback parameter of
reCaptcha, for example:
data-callback="myCallbackFunction"
My question is: what is callback function, and how can i do it in Python.
Thanks.