mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +00:00
Browser+WebDriver: Set the initial URL to about:blank from WebDriver
We already do this for headless-browser. There's no need to open any URL other than about:blank when starting a WebDriver session. We should also do this from WebDriver code, rather than in special logic in Browser's main.cpp.
This commit is contained in:
parent
93ffa77370
commit
3e2449d1fe
3 changed files with 2 additions and 3 deletions
|
@ -36,6 +36,7 @@ static ErrorOr<pid_t> launch_browser(DeprecatedString const& socket_path)
|
|||
Array {
|
||||
"--webdriver-content-path",
|
||||
socket_path.characters(),
|
||||
"about:blank",
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue