How can we install google-chrome-stable on alpine image in dockerfile using dpkg?

Installing the Chrome .deb file this way won’t work on Alpine. While the dpkg package is available in the Alpine repository, and is useful for installing lightweight Debian packages, you won’t be able to use it for installing complex Debian packages, since it’ll be impossible to satisfy many Debian dependencies. Alpine is generally not Debian … Read more

How to anti-alias clip() edges in html5 canvas under Chrome Windows?

If you’re doing complex, layered drawing, you can use globalCompositeOperation to emulate clipping in a second, scratch canvas. You can then use drawImage to copy the scratch canvas back into the original canvas. I can’t guarantee the performance of this approach, but it’s the only way I know to get what you want. //set-up – … Read more

ERROR:ssl_client_socket_openssl.cc(1158)] handshake failed with ChromeDriver Chrome browser and Selenium

You get this error when the browser asks you to accept the certificate from a website. You can set to ignore these errors by default in order avoid these errors. For Chrome, you need to add –ignore-certificate-errors and –ignore-ssl-errors ChromeOptions() argument: options = webdriver.ChromeOptions() options.add_argument(‘–ignore-certificate-errors’) options.add_argument(‘–ignore-ssl-errors’) driver = webdriver.Chrome(chrome_options=options) For the Firefox, you need to … Read more

How to debug websocket connection error with “Unknown reason”

Looks like someone just filed this as a Chromium (v77) bug. See issue tracking it here. Update 1: As noted in the issue tracker and comments below, this should now be fixed in the latest stable release, which is being rolled out now (2019/10/11). Update 2: Despite the bug being marked as fixed/closed in monorail, … Read more

Chrome “Drop workspace folder here”

Seems like it is another way to add a workspace to the DevTools (another way of doing this: https://developer.chrome.com/devtools/docs/workspaces#). It happened for me when I dragged a file to an open browser page and the file was accidentally dragged over the open DevTools. If you want this to go away you can drag and drop … Read more

number input – always show spin buttons

You can target spin buttons using ::-webkit-inner/outer-spin-button and than just set opacity to 1 (spins are always there, but in default they have opacity: 0). Code: <style> input[type=number]::-webkit-inner-spin-button { opacity: 1 } </style> <input type=”number” value=”1″ min=”1″ max=”999″> Fiddle: http://jsfiddle.net/dk8fj/

Chrome debugger – how to turn off console.log message grouping?

It only collapses consecutive rows that are identical, I don’t see it as much of a problem, but with the settings button in the top right corner of the console you can enable ‘Show timestamps’ which will put them on different lines: You can see they only collapse consecutive duplicates with this: msgs = [‘hello’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)