• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

Document.getElementById不适用于Visual Studio的ChromiumWebBrowser

用户头像
it1352
帮助1

问题说明

当我打开浏览器时,

WebBrowser browser1;

我可以致电

I am able to call

browser1.Document.getElementById();

但是当我加载浏览器为

but when I load the browser as

CromiumWebBrowser browser1;

它表示CefSharp.WinForms.ChromiumWebBrowser不包含文档定义。

it says "CefSharp.WinForms.ChromiumWebBrowser does not contain a definition for document".

我在Chromium浏览器中加载了一个Google表单。我只是想在第一个单元格中输入something。

I have loaded a 谷歌 sheet on a Chromium browser. I simply want to enter "something" on the first cell.

任何人都可以帮忙吗?

Can anyone help?

正确答案

#1

在完成以一种形式加载两个浏览器之后中,我只需将该值复制并粘贴到第二个浏览器的重点区域即可。这是我能做的最好的。

After working out to load two browsers in one form in this Q&A, I just had to copy the value and paste it to the focused area on the second browser. That's the best I could do.

Clipboard.SetDataObject((value).ToString(), true);
browser2.Paste();

但现在我需要解决另一件事了。
我需要选择谷歌表格中的下一个单元格。我创建了
这个问题

but now I need to solve another thing. I need to select the next cell on a 谷歌 sheet. And I have created this Question

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcfeice
系列文章
更多 icon
同类精品
更多 icon
继续加载