chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a95283
)
wdt: Reload page and resynch after loading penultima
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 Jan 2021 23:10:51 +0000
(23:10 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/wdriver/wdt-altergame.rs
b/wdriver/wdt-altergame.rs
index f12c2e9155884ccf3694c4cfd2783cbf182e7554..7840e61b6642ce2c2b64315d1094a9ff4d0a1569 100644
(file)
--- a/
wdriver/wdt-altergame.rs
+++ b/
wdriver/wdt-altergame.rs
@@
-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");