WatIn:为正文设置文本时出现问题
我正在尝试将文本放入正文类型的可编辑字段中。由于正文没有任何类似于键入文本的内容。我做不到。我已经看到一个问题(http://stackoverflow.com/questions/3003973/watin-how-to-type-text-in-the-body-allocated-in-other-frame)与我的问题相同。但报告的答案不起作用,因为 Body.Text 属性是只读的。我无法在其中设置文本。任何帮助将不胜感激。
I'm trying to put text in editable field of body type. As body doesn't have anything similar to type text. I'm not able to do it. I have already seen one question (http://stackoverflow.com/questions/3003973/watin-how-to-type-text-in-the-body-allocated-in-other-frame) with same problem as mine. But reported answer doesn't work as Body.Text property is readonly. I can't set text in it. Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅我在另一个线程上的答案,了解如何通过 Javascript 在框架主体中执行此操作
WatiN:如何在其他框架中分配的正文中键入文本
See my answer on the other thread on how I did this in a frame body via Javascript
WatiN: How to type text in the Body allocated in other Frame