Is it possible to use Selenium with C# windows Form that contains a WebBrowser object?

前端 未结 4 1670
执念已碎
执念已碎 2021-01-12 15:13

I\'m wondering if it\'s possible to use Selenium with a C# Windows Form that contains a WebBrowser object.

I\'m using selenium and I\'m able to create test cases

4条回答
  •  难免孤独
    2021-01-12 16:11

    In theory it would work as long Selenium can inject JS into the browser component. You would need to use the *custom command and pass in the executable that you want Selenium to start up and then it will try do what you want.

提交回复
热议问题