betodealmeida commented on issue #24948:
URL: https://github.com/apache/superset/issues/24948#issuecomment-1681228705

   I think that regardless of the state of the legacy deck.gl visualizations or 
the path we take forward (improve them, replace them with ECharts GL, etc.), 
**we do need to support WebGL in Superset**, since not only it's used 
everywhere in geoviz but also in custom visualizations that handle huge 
quantities of data. Personally I would love to see the deck.gl visualizations 
being improved and brought back to tier 1, but I suggest we have that 
discussion in a separate channel (or SIP), and focus on what solution we're 
going to use for WebGL.
   
   While I think it might be worth trying the newer version of Selenium (4.11.2 
vs the current 3.141.0), I think Playwright has other advantages, since it's 
much easier to install and run and has a more modern API (with optional support 
for async). Taking a screenshot with Playwright is incredible simple, since you 
don't need to worry about all the webdriver options:
   
   ```bash
   pip install playwright
   playwright install
   ```
   
   ```python
   import asyncio
   from playwright.async_api import async_playwright
   
   async def main():
       async with async_playwright() as p:
           browser = await p.chromium.launch()
           page = await browser.new_page()
           await page.goto("https://superset.apache.org";)
           print(await page.title())
           await page.screenshot(path="screenshot.png", full_page=True)
           await browser.close()
   
   asyncio.run(main())
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to