US 11,726,752 B2
Unsupervised location and extraction of option elements in a user interface
Stefan Magureanu, Solna (SE); Marcus Näslund, Uppsala (SE); Andrey Melentyev, Stockholm (SE); Henrik Ståhl, Stockholm (SE); and Stanislav Dzhumaev, Stockholm (SE)
Assigned to Klarna Bank AB, Stockholm (SE)
Filed by Klarna Bank AB, Stockholm (SE)
Filed on Nov. 11, 2019, as Appl. No. 16/680,396.
Prior Publication US 2021/0141619 A1, May 13, 2021
Int. Cl. G06F 8/38 (2018.01); G06N 5/04 (2023.01); G06N 20/00 (2019.01); G06F 9/451 (2018.01)
CPC G06F 8/38 (2013.01) [G06F 9/451 (2018.02); G06N 5/04 (2013.01); G06N 20/00 (2019.01)] 21 Claims
OG exemplary drawing
 
1. A computer-implemented method for generating integration code usable by a client device, comprising:
executing a first user interface of an interface provider that includes:
a first button object that, upon activation, causes execution of a second user interface of the interface provider;
a second button object; and
an option selection object associated with a first option element and a second option element;
determining that option selection via the option selection object causes a listed selection corresponding to the option selection to appear in the second user interface by at least:
selecting the first option element of the option selection object;
performing a first simulated human interaction with the second button object a first time;
executing the second user interface as a result of performing a second simulated human interaction with the first button object, the second user interface being in a first state that includes a first listed selection corresponding to the first option element;
selecting the second option element of the option selection object;
performing a third simulated human interaction with the second button object a second time;
refreshing the second user interface to produce the second user interface in a second state; and
determining that a difference between the second state and the first state includes a second listed selection corresponding to the second option element;
generating the integration code as a result of determining that the option selection causes the listed selection to appear in the second user interface; and
as a result of execution of the integration code by the client device, causing the client device to display a third interface, wherein the third interface comprises options that cause one of the first listed selection and the second listed selection to appear in the second user interface of the interface provider.