From: Ian Jackson Date: Wed, 23 Dec 2020 02:50:21 +0000 (+0000) Subject: now test.png is nonempty X-Git-Tag: otter-0.2.0~149 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=415b62683ba0584d6d36206047a70c12c0021bef;p=otter.git now test.png is nonempty Signed-off-by: Ian Jackson --- diff --git a/wdriver.rs b/wdriver.rs index 60f6bc93..1b6829db 100644 --- a/wdriver.rs +++ b/wdriver.rs @@ -305,10 +305,12 @@ fn prepare_thirtyfour() { let caps = t4::DesiredCapabilities::firefox(); let driver = t4::WebDriver::new("http://localhost:4444", &caps) .context("create 34 WebDriver")?; - driver.fullscreen_window() - .context("fullscreen")?; - driver.get("http://localhost:8000") +// driver.fullscreen_window() +// .context("fullscreen")?; + driver.get("http://localhost:") .context("dummy navigation")?; + driver.screenshot(path::Path::new("test.png")) + .context("screenshot")?; } impl Drop for FinalInfoCollection {