From 61f01feea8e90153d25f8fe88e501e01f4b3d6ea Mon Sep 17 00:00:00 2001 From: Sylvie Ye Date: Tue, 12 Mar 2019 14:31:58 +0100 Subject: [PATCH] [ing] dump virtualkeyboard files in session folder if needed --- modules/ing/api/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ing/api/login.py b/modules/ing/api/login.py index e6caaeeb53..eb1f8995ed 100644 --- a/modules/ing/api/login.py +++ b/modules/ing/api/login.py @@ -101,7 +101,7 @@ def get_password_coord(self, img, password): pin_position = Dict('pinPositions')(self.doc) image = BytesIO(img) - vk = INGVirtKeyboard(image, 5, 2) + vk = INGVirtKeyboard(image, 5, 2, browser=self.browser) password_radom_coords = vk.password_tiles_coord(password) # pin positions (website side) start at 1, our positions start at 0 return [password_radom_coords[index-1] for index in pin_position] -- GitLab