Skip to content

Commit

Permalink
fix: Use v0.24.0 of geckodriver
Browse files Browse the repository at this point in the history
  • Loading branch information
drager committed Jun 29, 2021
1 parent 59ab6d1 commit b183a4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/webdriver/geckodriver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,11 @@ fn get_version_from_json(json: impl AsRef<str>) -> Result<String, failure::Error
})
}

fn assemble_geckodriver_url(tag: &str, target: &str, ext: &str) -> String {
fn assemble_geckodriver_url(_tag: &str, target: &str, ext: &str) -> String {
format!(
"https://github.com/mozilla/geckodriver/releases/download/{tag}/geckodriver-{tag}-{target}.{ext}",
tag=tag,
// TODO: Temporary use v0.24.0 instead of latest. Latest is currently not working...
tag="v0.24.0",
target=target,
ext=ext,
)
Expand Down

0 comments on commit b183a4c

Please sign in to comment.