From 52a7557c723ee1614234054f47b45057882e9061 Mon Sep 17 00:00:00 2001 From: iddoeldor Date: Mon, 29 Apr 2019 14:09:54 +0300 Subject: [PATCH] add get_frontmost_application example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2045931..515a8d5 100644 --- a/README.md +++ b/README.md @@ -1405,7 +1405,7 @@ frida_script = """ }); """ device = frida.get_usb_device() -pid = device.spawn(["com.example"]) +pid = device.spawn(["com.example"]) # or .get_frontmost_application() session = device.attach(pid) script = session.create_script(frida_script) script.on('message', on_message)