News for hackers. Stuff that matters.
Re:Webtest.app – Website Speed Test with and Without Ad Blocker by onesmallcoin on Sunday November 03, 2019 @12:37PM (#21435286)
I think you can force load a plugin in chromium headless with a command line argument. Last time I checked the issue was accessing the html dom of the extension e.g chrome-extension://blahblahblah as it only returns a blank page. The other annoying issues I experienced and currently remain unresolved in the latest chromium build headless mode + CDP are:

1. Granting permissions to scopes for sites e.g geolocation, notifications in Browser.GrantPermissions

2. Setting a mock geolocation in Page.setGeolocationOverride I've tried replacing the JS navigator function for geolocation, even if you grant the geolocation permission on the site it still says that it is prompting the user

If anyone has any advice on how to resolve these issues without a virtual X server it would be greatly appreciated. Feel free to drop me a bell @ [email protected] or in a comment.

If google needs anyone to find bugs in chrome headless and CDP I need a job.

There are no comments on this comment yet.