From f1f26bdb9577317aa87a9066d264da45e2e5626b Mon Sep 17 00:00:00 2001 From: David Weingut Date: Wed, 24 Jan 2024 12:51:17 +0100 Subject: [PATCH] Fix refresh command The `refresh!` command in its current state does not what it says, it only tries to post no data to the `timeouts` endpoint --- src/02_commands/03_Navigation/05_Refresh.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/02_commands/03_Navigation/05_Refresh.jl b/src/02_commands/03_Navigation/05_Refresh.jl index 09f1f4d..a2ccf9e 100644 --- a/src/02_commands/03_Navigation/05_Refresh.jl +++ b/src/02_commands/03_Navigation/05_Refresh.jl @@ -7,7 +7,7 @@ This command causes the browser to reload the page in the current top-level brow function refresh!(session::Session) @unpack addr, id = session response = - HTTP.post("$addr/session/$id/timeouts", [("Content-Type" => "application/json")]) + HTTP.post("$addr/session/$id/refresh", [("Content-Type" => "application/json")]) @assert response.status == 200 nothing end