From 415b62683ba0584d6d36206047a70c12c0021bef Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 23 Dec 2020 02:50:21 +0000 Subject: [PATCH] now test.png is nonempty Signed-off-by: Ian Jackson --- wdriver.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 { -- 2.30.2