Unable to turn off " Change your Password". Mobile Testing

Hi Guys,
I’am facing an issue that I’m executing the automation script logging on website by moible webapp.
After logging this Alert is appeared.

I’ve tried to put 2 values “credentials_enable_service”, false and “profile.password_manager_enabled”, false; on User set preference but It’s not worked.

Hi,

Can anyone please help this case? I do not have experience in this

you might need to right desired capabilities to turn it off.

if above doesn’t work, you can use robot framework to mimic keyboard action to press keyboard Enter/Return/ESC keys to move forward

To be simple remove the credentials that you saved in your password manager. this will remove this pop-up

hi @tluong147

that sheet is not the save password prompt, it is chrome’s leaked credential check (safety check). it fires when the password you type is in google’s breach list, which test passwords usually are. the two prefs you tried only turn off the password manager, they do not touch leak detection, and on android chrome prefs set through chromeOptions mostly do not apply anyway.

what works on android is a feature flag. in your mobile desired capabilities add a chromeOptions dictionary with args:

chromeOptions   Dictionary
  args   List   --disable-features=PasswordLeakDetection,PasswordCheck

flags do get passed to chrome on the device through chromedriver. if you also want the save prompt gone add --disable-save-password-bubble.

and if you cannot get the caps through, the quick hack is to use a password that is not in any breach list, a random 20 character one, the sheet only shows for known leaked ones.

have you tried above suggestion? issue resolved?