SolvedInstaPy Login A/B test detected! Trying another string...

My error after update

Login A/B test detected! Trying another string...

sessions end.

43 Answers

✔️Accepted Answer

To anybody still having this issue on 6.1
Its caused by a typo in the file xpath_compile.py

Line 159 "login_elem_no_such_exception": "//a[text()='Log``` In']",

It looks like this ^^^

It needs to look like this

Line 159 "login_elem_no_such_exception": "//button[text()='Log In']",

It will still throw the statement Login A/B test detected! Trying another string... but then it should login...

It most likely will ask for a security code that will be sent to your email, just enter that and you should be all set!

Other Answers:

To anybody still having this issue on 6.1
Its caused by a typo in the file xpath_compile.py

Line 159 "login_elem_no_such_exception": "//a[text()='Log``` In']",

It looks like this ^^^

It needs to look like this

Line 159 "login_elem_no_such_exception": "//button[text()='Log In']",

It will still throw the statement Login A/B test detected! Trying another string... but then it should login...

It most likely will ask for a security code that will be sent to your email, just enter that and you should be all set!

it worked for me, thanks

More Issues: