File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,10 @@ def clear_cookies
285
285
browser . cookies . clear
286
286
end
287
287
288
+ def wait_for_network_idle ( **options )
289
+ browser . network . wait_for_idle ( **options )
290
+ end
291
+
288
292
def clear_memory_cache
289
293
browser . network . clear ( :cache )
290
294
end
Original file line number Diff line number Diff line change 17
17
options . merge! ( inspector : true ) if ENV [ "INSPECTOR" ]
18
18
options . merge! ( logger : StringIO . new )
19
19
driver = Capybara ::Cuprite ::Driver . new ( app , options )
20
- puts driver . browser . process . cmd . join ( " " )
21
- puts `"#{ driver . browser . process . path } " -version --headless --no-gpu`
20
+ process = driver . browser . process
21
+ puts process . command . to_a . join ( " " )
22
+ puts process . browser_version
22
23
driver
23
24
end
24
25
You can’t perform that action at this time.
0 commit comments