我们可以使用 GAS 的 Chrome V8 功能吗? [英] Can we use Chrome V8 functionalities from GAS?

查看:34
本文介绍了我们可以使用 GAS 的 Chrome V8 功能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于 Apps Script 在 Chrome V8 引擎中运行,是否可以使用 Apps Script 中的任何 V8 功能?

Since Apps Script runs in Chrome V8 engine, would it be possible to use any of V8 functionalities from Apps Script?

我想知道是否可以使用 Apps 脚本构建无头浏览器、网页截图等工具.我还没有读过这些,但如果可能的话.

I was wondering if it will be possible to build tools like headless browser, webpage screenshot, etc using Apps Script. I haven't read on these though, but would if it would be possible.

谢谢

推荐答案

V8 是一个 ECMAScript 引擎,它只是浏览器的一部分.它对 DOM、CSS 或渲染等一无所知.所以不,你不能用它来渲染网站的屏幕截图.

V8 is an ECMAScript engine, which is just one part of a browser. It doesn't know anything about the DOM, or CSS, or rendering, etc. So no, you can't use it to render screenshots of websites.

这篇关于我们可以使用 GAS 的 Chrome V8 功能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆