Files
Brian R. Bondy 7a7a7b3764 Leo text extraction via screenshot and text extraction (Google docs support) (#21470)
* Leo text extraction via screenshot text extraction

If text_recongition is available (Windows and macOS) then it will
use the RenderWidgetHostView's surface to capture a screenshot of
the web_contents for certain pages that are canvas based such as
docs.google.com.

It currently also uses this method for screenshots of Twitter for now.
Although it would be possible to remove Twitter in the future when we
support better extraction methods.

The feature is currently limited to only capturing the visible area to
the user.

* Add handling and tests for unsupported results
2024-01-10 15:47:49 -05:00

10 lines
143 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Leo test</title>
</head>
<body>
<div style='font: 30px Arial'>I have spoken</div>
</body>
</html>