Skip to content

reaudito/shivarthu-client-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running geckodriver

geckodriver -p 4444
use thirtyfour::prelude::*;

let caps = DesiredCapabilities::firefox();
// NOTE: this assumes you have a WebDriver compatible server running
//       at http://localhost:4444
//       e.g. `geckodriver -p 4444`
let driver = WebDriver::new("http://localhost:4444", caps).await?;
driver.goto("https://www.rust-lang.org/").await?;
// Always remember to close the session.
driver.quit().await?;

Kill the port

fuser -n tcp -k 4444

Releases

No releases published

Packages

No packages published

Languages