Skip to content

Commit 661385d

Browse files
schloerkeRLesur
andcommitted
Update default chromote object for current testing
Co-Authored-By: Romain Lesur <RLesur@users.noreply.github.com>
1 parent f5916d7 commit 661385d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/chromote/test.R

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ if ("chromote" %in% avail_pkgs) {
1212

1313
library(chromote)
1414

15+
set_default_chromote_object(
16+
Chromote$new(
17+
Chrome$new(
18+
args = c(
19+
"--disable-gpu",
20+
"--no-sandbox",
21+
"--disable-dev-shm-usage", # required bc the target easily crashes
22+
c("--force-color-profile", "srgb")
23+
)
24+
)
25+
)
26+
)
27+
1528
# Make session
1629
b <- ChromoteSession$new()
1730

0 commit comments

Comments
 (0)