You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
513 B
21 lines
513 B
log("inicia botbunny_inicio")
|
|
local err
|
|
print("BEFORE JSON LOADING payload: " .. json_payload)
|
|
local json = require("json")
|
|
print("AFTER JSON LOADING")
|
|
-- Parse the JSON string
|
|
local obj, err = json.decode(json_payload)
|
|
|
|
if err then
|
|
log("Decoding error" .. err)
|
|
error("Decoding error" .. err)
|
|
end
|
|
|
|
log("Por abrir pagina de loading")
|
|
err = navigate("https://www.bot-bunny.com/loading")
|
|
if err then
|
|
log("navigate error" .. err)
|
|
error("navigate error" .. err)
|
|
end
|
|
log("durmiendo por 5 segundos")
|
|
waitSecs(5)
|
|
|