Hi,
Some of the websites have the captcha.
How to handle this kind of situations
Thanks
Hi @KMota
In my case i have like this type of captcha
How to handle this types

That captcha image also changed for every time page refresh
Thanks
Hi, @vivek_sivam,
if was meβ¦
First Read the simbol + - % x
and if
see where is empty
Value1+Value2=Valeu3
and folloing your exemple
If symbol its +
then
Get Valeu1 - Value 3 and type result into empty value
Hi @Luis261980
Can you please give an example to done the things
Which activity we use
Thanks
Hi @vivek_sivam,
Try using it as below.
step 1: get the captcha text with get text activity and store it in strVar0. for ex. it should be βSolve to Proceed :4 + =15β
step 2: Assign string variable strVar1= System.Text.RegulareExpressions.regex.replace(Trim(strVar0).replace(β:β,ββ).replace(β=β,ββ),β[a-zA-Z0-9 ]β,ββ)
So, strVar1 would be + or - or / or *
step 3: Assign two int var intVar1 and intVar2
step 4: inVar1=convert.ToInt32(Regex.replace(strVar0.split(β+strVar1+βC)(0),β[^0-9]β,ββ)) so, intVar1 would be 4
step 5: convert.ToInt32(inVar2=Regex.replace(strVar0.split(β+strVar1+βC)(1),β[^0-9]β,ββ)) so, intVar2 would be 15
step 6: assign new intVar3=If(strVar1=β+β,intVar2-intVar1,if strVar1=β-β,intVar2+intVar1,ifstrVar1="",intVar2/intVar1,intVar1intVar2)
step 6 should give you the value needs to be enter in captcha input text box.
hope this will work for you.
Thanks!
Hi @Deepak94
Could you please create a work flow for this
Thanks
yes.
Send me the link of it.
Hi @Deepak94
Captcha has been changed dynamically for every refresh
Yes. this is only option to handle this type of captcha
@Arslan_Ali
Which one assisted by @Deepak94 ?
Hi @vivek_sivam,
PFA Workflow and let me know if its works for you or not.
Thanks!
CaptchaResolver.zip (2.9 KB)
Hi @Deepak94
Thanks for your effort.
Iβm try to execute your work flow iβm getting below error

Can you let me know what should i need to do. I thing i need to add browser some thing
Which browser you are using?
I used IE.
Please indicate the selectors of attach browser to entire webpage.
Thanks.
Hi @vivek_sivam,
Ok.
Have you changed the browser type to chrome in property section?
Please try to indicate the website page
Hi @vivek_sivam,
here you go.
CaptchaResolver.zip (2.9 KB)
Thanks!
Hi @Deepak94
I have used your latest work flow getting below error. iβm doing mistakes but donβt know how to fix

Ok.
could you please delete the old workflow and its Project.json and copy new workflow again ?
because I did not used this selectors anywhere in the workflow.
Thanks!
@vivek_sivam
Also make sure you that you have UiPath extension installed properly.
Thanks!
