How to connect to an already open browser?

前端 未结 5 1318
终归单人心
终归单人心 2021-01-04 04:45

I would really appreciate a guide on how to connect to an already open browser using Selenium Webdriver via C#.

This issue eats around 30% of my script development t

5条回答
  •  误落风尘
    2021-01-04 05:27

    Since time is your primary issue and this is not natively supported. Why adopt an alternative approach. Develop/implement a basic connect & navigate to home page use case. Then extend that class for your more complex use case. Alternatively make Test case controller, then use a factory to instantiate your detailed tests, passing the webdriver instance into the test case.

提交回复
热议问题