Skip to content

Commit

Permalink
Update selenium and disable search engine choice screen
Browse files Browse the repository at this point in the history
  • Loading branch information
pocmo committed Aug 2, 2024
1 parent dc0a944 commit b35ce7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ kotlinResult = "1.1.14"
ktor = "2.3.6"
mozillaRhino = "1.7.14"
picocli = "4.5.2"
selenium = "4.11.0"
selenium = "4.23.0"
slf4j = "1.7.36"
squareOkhttp = "4.12.0"
squareOkio = "3.8.0"
Expand Down
1 change: 1 addition & 0 deletions maestro-client/src/main/java/maestro/drivers/WebDriver.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class WebDriver(val isStudio: Boolean) : Driver {
driverService,
ChromeOptions().apply {
addArguments("--remote-allow-origins=*")
addArguments("--disable-search-engine-choice-screen")
if (isStudio) {
addArguments("--headless=new")
addArguments("--window-size=1024,768")
Expand Down

0 comments on commit b35ce7c

Please sign in to comment.