M
M
martensit2019-01-25 09:13:40
C++ / C#
martensit, 2019-01-25 09:13:40

How to access IWebDriver from another class?

One class declares WebDriver
IWebDriver wd = new ChromeDriver(driverService, options);
How to call wd.Manage() from another class?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eRKa, 2019-01-25
@martensit

In this other class, pass a reference to wd.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question