chiark / gitweb /
wdt: Reload page and resynch after loading penultima
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Jan 2021 23:10:51 +0000 (23:10 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 Jan 2021 23:19:17 +0000 (23:19 +0000)
This will produce a nice screenshot I hope.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver/wdt-altergame.rs

index f12c2e9155884ccf3694c4cfd2783cbf182e7554..7840e61b6642ce2c2b64315d1094a9ff4d0a1569 100644 (file)
@@ -83,6 +83,9 @@ fn main(){
     let mut alice = c.su.w(&c.alice)?;
     alice.otter(&["reset"],&[&game_spec])?;
     alice.synch_ignore_js_errors()?;
+    let url = alice.current_url()?;
+    alice.get(url)?;
+    alice.synch()?;
   }
 
   info!("ok");