Skip to content

Commit cd5764a

Browse files
committed
Tickle test to verify fluffysquirrels#9
This commit is just meant to verify that fluffysquirrels#9 works. Some tests fail due to diferences between the output of firefox and chrome.
1 parent 7b330d4 commit cd5764a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/webdriver_client_integration.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ use std::sync::{Once, ONCE_INIT};
1616
use std::thread::sleep;
1717
use std::time::Duration;
1818
use webdriver_client::{Driver, DriverSession, HttpDriverBuilder, LocationStrategy};
19-
use webdriver_client::firefox::GeckoDriver;
19+
//use webdriver_client::firefox::GeckoDriver;
20+
use webdriver_client::chrome::ChromeDriver;
2021
use webdriver_client::messages::ExecuteCmd;
2122

2223
#[test]
@@ -286,7 +287,7 @@ fn test_frame_switch() {
286287
fn test_http_driver() {
287288
ensure_logging_init();
288289

289-
let gecko = GeckoDriver::build().spawn().unwrap();
290+
let gecko = ChromeDriver::build().spawn().unwrap();
290291

291292
// Hackily sleep a bit until geckodriver is ready, otherwise our session
292293
// will fail to connect.
@@ -416,7 +417,7 @@ impl Drop for FileServer {
416417
fn setup() -> (FileServer, DriverSession) {
417418
ensure_logging_init();
418419

419-
let gecko = GeckoDriver::build()
420+
let gecko = ChromeDriver::build()
420421
.spawn().expect("Error starting geckodriver");
421422
let session = gecko.session().expect("Error starting session");
422423

0 commit comments

Comments
 (0)