chiark / gitweb /
produces some kind of Xul error but none of my script's output
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Dec 2020 00:01:58 +0000 (00:01 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Dec 2020 00:01:58 +0000 (00:01 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver.rs

index 71ec3c82d6f60a9086c62fa25d0da9efb538c342..98b89877de1a43b67ce1a1bb38ad701d2faa2d54 100644 (file)
@@ -651,6 +651,7 @@ fn prepare_thirtyfour() -> (T4d, ScreenShotCount, Vec<String>) {
     ("devtools.console.stdout.content", true),
   ].iter().cloned().collect();
   caps.add("prefs", prefs)?;
+  caps.add("stdio", "inherit")?;
   let mut driver = t4::WebDriver::new("http://localhost:4444", &caps)
     .context("create 34 WebDriver")?;