You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to find a canvas element using querySelector and get the image data using toDataURL like this:
document.querySelector('CSS_SELECTOR').toDataURL('image/png');
The problem is that I'm getting 'null' instead of actual image data.
The canvas should be rendered using cornerstone.js but it seems to fail in that too.
Can anyone help solve this issue?
Thanks,
Boris
The text was updated successfully, but these errors were encountered:
Borisfrad
changed the title
HTMLCanvasElement.toDataURL issue
HTMLCanvasElement.toDataURL() issue
Feb 27, 2017
When constructing, try new JBrowserDriver(Settings.builder().headScript("").build()) ... the toDataURL is actually being explicitly disabled to prevent browser fingerprinting like Tor Browser does. This is clearly unintuitive for people and should be more easily configurable with more obvious defaults. Thanks for reporting this!
Hi,
I'm trying to find a canvas element using querySelector and get the image data using toDataURL like this:
document.querySelector('CSS_SELECTOR').toDataURL('image/png');
The problem is that I'm getting 'null' instead of actual image data.
The canvas should be rendered using cornerstone.js but it seems to fail in that too.
Can anyone help solve this issue?
Thanks,
Boris
The text was updated successfully, but these errors were encountered: