-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to hide pop window when using headless #1116
Comments
Please fix the format of your markdown: 46 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"]
46 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
48 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"] generated by check-issue |
Did a white box pop up? I encountered this issue as well, but it only happens on Windows. |
yes |
Disable leakless might help. |
In fact, I've always had leakless disabled, yet the issue still persists. However, it only occurs on Windows systems, and there are no such issues on other systems. |
To be precise, it's not an issue with the parameter itself because I do need to display the terminal. However, when I start a headless browser via Rod, a white, blank window appears. After completing the task and closing the browser, the window disappears. This issue only started recently, and I suspect it's likely due to another update from Chrome that caused this. |
I encountered almost the same problem. |
issue suddenly disappeared, not sure why |
Rod Version: v0.116.2
The code to demonstrate your question
Clone Rod to your local and cd to the repository:
git clone https://github.com/go-rod/rod cd rod
Use your code to replace the content of function
TestRod
in filerod_test.go
.Test your code with:
go test -run TestRod
, make sure it fails as expected.Replace ALL THE CONTENT under "The code to demonstrate your question" with your
TestRod
function, like below:What you got
a empty popup window
What you expect to see
no popup window
What have you tried to solve the question
try add
to all cmd, not work
The text was updated successfully, but these errors were encountered: