shivamguys / irctc-cypress-automation

Tatkal and Normal train Booking Automation in 1 Minute ✔️ Signing in with your username and password. ✔️ Auto Upgradation Enabled. ✔️ Filling Captchas and retrying untill success. ✔️ Support for Food Choices, Seats Preferences. ✔️ Payment Gateway Automation (Paying With UPI ID OR QR Code).
118 stars 212 forks source link

MAX attempt to call second stage captcha gets timeout and from there after it goes into Manual Mode. #52

Open oberoy-ravi opened 5 months ago

oberoy-ravi commented 5 months ago

@shivamguys Hi, there is a Wait(500) call for Second stage captcha that for current state run MAX_ATTEMPTS = 120 times. But even after waiting for 120 times when 2nd stage captcha page doesn't shows up, it throws the err max attempt reached and fails to run any further steps like choosing UPI and continuing. This all has to be done manually from thereafter.

I failed booking ticket in Train : 13185 due to this error.

Thought of increasing max attempt to something like 180 times but am not sure if it will cause any another error.

Need to do any manipulation so even when website slows down to load the captcha page and eventually it shows up, user should be able to fill captcha and from there again rest steps should be continued automatically through this automation.

KINDLY DO LOOK into this ASAP.

oberoy-ravi commented 5 months ago

@shivamguys

shivamguys commented 5 months ago

Just increase the max attempt to something like 5k for now

On Sat, 22 Jun, 2024, 2:08 pm oberoy-ravi, @.***> wrote:

@shivamguys https://github.com/shivamguys

— Reply to this email directly, view it on GitHub https://github.com/shivamguys/irctc-cypress-automation/issues/52#issuecomment-2183918072, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAX65J4BYAFXT7UBVSO4OLZIUZ2HAVCNFSM6AAAAABJXIIWAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTHEYTQMBXGI . You are receiving this because you were mentioned.Message ID: @.***>