Skip to content

Commit

Permalink
always take screenshot of whole page
Browse files Browse the repository at this point in the history
firefox does support it but not the w3c :/

bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=1431148
  • Loading branch information
mguentner committed Jan 29, 2018
1 parent 3a6e102 commit df37bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marionette.rs
Expand Up @@ -1110,7 +1110,7 @@ impl MarionetteCommand {
let mut data = BTreeMap::new();
data.insert("id".to_string(), Json::Null);
data.insert("highlights".to_string(), Json::Array(vec![]));
data.insert("full".to_string(), Json::Boolean(false));
data.insert("full".to_string(), Json::Boolean(true));
(Some("takeScreenshot"), Some(Ok(data)))
},
TakeElementScreenshot(ref e) => {
Expand Down

0 comments on commit df37bf4

Please sign in to comment.