WatiN: The CurrentThread needs to have it's ApartmentState set to ApartmentState.STA to be able to automate Internet Explorer

后端 未结 0 751
星月不相逢
星月不相逢 2021-02-11 22:07

I am calling WatiN from a C# windows service. When I invoke WatiN it throws the following exception. The CurrentThread needs to have it\'s ApartmentState set to ApartmentState.S

相关标签:
回答
  • 消灭零回复
提交回复
热议问题