-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Blocking resources with SetBlockedURLs/MustSetBlockedURLs #1168
Comments
Please fix the format of your markdown: 36 MD022/blanks-around-headings/blanks-around-headers Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "## What you expect to see"]
37:164 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
43:84 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1] generated by check-issue |
Could you please provide the screeshoot of inspector? |
I tried again and looked at the test in the PR, there I spotted something I failed to do: With that call before Block it works, so it was indeed on my side. I'm not sure what that call does but my issue seems solved. |
Rod Version: v0.116.2
First of all, thanks for all the work you're putting into the library!
The code to demonstrate your question
What you got
Looking in the inspector I can see a request to
https://play.google.com/log?format=json&hasfast=true
happening. There are no URLs blocked if I look at them in the inspector.What you expect to see
The request being blocked since I've done SetBlockedURLs. I know I can use HijackRequests and implement the blocking by myself, and that's the route I'm going for.
I'm assuming I'm misunderstanding how to use the function as for me it seems to do nothing
What have you tried to solve the question
Reading the source code and looking at https://github.com/go-rod/rod/pull/778/files
The text was updated successfully, but these errors were encountered: