I'm currently working in an application that has to navigate a webpage and recollect data about products, prices, ... with webbrowser object in .net 3.5.

我目前正在一个应用程序中工作,该应用程序必须浏览网页并使用.net 3.5中的webbrowser对象重新收集有关产品,价格,...的数据。

The problem is that the page has some fields with a suggest script in ajax, and I can't simply modify the innerText property because the script also saves codes in a hidden input field.

问题是该页面在ajax中有一些带有建议脚本的字段,我不能简单地修改innerText属性,因为该脚本还将代码保存在隐藏的输入字段中。

I need a way to simulate the typing in that field and then send the "Enter" key, or launch the ajax script and then send the "Enter" key, or any better ways to do this.

我需要一种方法来模拟该字段中的输入,然后发送“Enter”键,或启动ajax脚本然后发送“Enter”键,或者更好的方法来执行此操作。

4 个解决方案

#1


3

Use Watin

Then you can use this solution.

然后你可以使用这个解决方案。

更多相关文章

  1. 我正在尝试使用带有post方法的AJAX将用户名和密码发送到php文件
  2. 通过脚本自动屏蔽非法IP(转http://bbs.5y6s.com/htm_data/21/080
  3. 仅使用CSS的输入字段的一部分
  4. 如何使用struts2访问表单数组字段
  5. 使用jquery和php手动在数据库中增加一个字段[复制]
  6. PHP通过系统命令执行Python脚本
  7. PHP邮件脚本占用了大量资源
  8. 更新日期字段时为空 - MySQL PHP
  9. thinkphp框架里怎么用linux的crontab写php的定时脚本

随机推荐

  1. [摘]android 入门xml布局文件
  2. ok6410 android driver(11)
  3. Android API中文文档GridView
  4. NestedScrollingParent, NestedScrolling
  5. 〖Android〗存在多个Android设备时,使用Sh
  6. Android Selector和Shape
  7. 关于android SDK安装Failed to fetch URL
  8. 【Android】如何调节屏幕亮度,关闭屏幕
  9. 如何申请Android Map API Key
  10. Androkd开发坏境配置以及常用插件