aydinnyunus / gpt4-captcha-bypass

Captcha Bypass using GPT4-o
676 stars 51 forks source link

ChatGPT Response: Unable to view images or open links directly #7

Open SedatUnalCointral opened 1 month ago

SedatUnalCointral commented 1 month ago

Hey Yunus, First of all thank u for your public project. I am try to use ask_recaptcha_to_chatgpt function with imgur api. The imgur api works fine but chatgpt returns like this; I'm unable to view images or open links directly. However, if you describe the image and provide the instruction written at the top, I can help you identify the relevant squares based on the description and the instruction. Please provide the instruction and describe any noticeable features of the squares.

What should i do ?

image

SedatUnalCointral commented 1 month ago

Now i handle this error sending base64 image instead of url to chatgpt. but now i am getting ElementNotInteractableException when click to images.

okatu-loli commented 1 month ago

Now i handle this error sending base64 image instead of url to chatgpt. but now i am getting ElementNotInteractableException when click to images.

(1) The delay time is not enough, the element has not been refreshed, increase the delay time.sleep(2)

(2) The components have a sequence or have been hidden, check whether the previous component is obtained normally

(3) The resolution is different. The maximum resolution of the front-end and the back-end (headless) is different. The resolution needs to be specified to keep it consistent (You can add parameters to specify the resolution of the current host. Maximization cannot keep the resolution consistent) option.add_argument("--window-size=1960,1080")

(4) Components overlap, resulting in the first click failing and reporting an error saying that the click was captured by other components. It is recommended to click a blank space first and then perform the operation. This will report an error saying that the click event was captured by other components driver.find_element_by_xpath('/html/body').click()