本文介绍了C#Web:将文本从Webage存储到变量中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在通过C#将Selenium 2与HTMLUnit驱动程序一起使用.我想将网页中的一些文本存储到变量中.我将如何去做呢?

非常感谢您的帮助.

Hi,

I am using Selenium 2 with HTMLUnit Driver through C#. I want to store some text from the webpage to a variable. How would I go about doing this?

Any help is greatly appreciated.

推荐答案

Session["MyVariable"] = value;


这篇关于C#Web:将文本从Webage存储到变量中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 21:29