java - Is it possible to automate captcha code using selenium webdriver? -


i'm automating irctc site hands on selenium webdriver.

it asking me captcha code along username , password. there anyway automate captcha code?

you failed understand captcha is; from wikipedia:

a captcha (a backronym "completely automated public turing test tell computers , humans apart") type of challenge-response test used in computing determine whether or not user human.

as mentioned in other answers , comments, there several possible attacks defeat this. can links several other options same wikipedia page. note of these more of proof-of-concept, rather out-of-the-box solution.

since tagged question selenium, possible may using in environment control, such test environment @ work. in such scenario, easiest solution ask developers introduce "test" flag non-production deployments. when flag active, predefined phrase pass captcha testing purposes. however, should still have full-pass test, turned on if real production.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -