Selenium Webdriver C# Sendkeys (Keys.Arrowdown)

后端 未结 5 1922
傲寒
傲寒 2021-02-14 20:14

I\'m trying to do do an arrow using Selenium Webdriver/C# compile but when I try to compile I get this error:

\'Keys\' is an ambiguous reference between \

5条回答
  •  庸人自扰
    2021-02-14 21:07

    As the error states, there are two different Keys types in two different namespaces.

    You need to unambiguously qualify the type by writing OpenQA.Selenium.Keys.

提交回复
热议问题