-1

I am working on a Project that uses Selenium directory with using statement:

using OpenQA.Selenium; 

Now I have added a reference to the project that also using this directory but extending it.

when I wrote the following line of code: enter image description here

I get no compilation errors but an exception on running time saying: "Method not found" exception: enter image description here

How can I force and make the program use the new extended selenium directive in this instance and methods use and not the old version where those methods are not exist?

Thank you

1
  • Please don't post screenshots of text messages or code. Post the text of the message in your question so that it's easier to read.
    – JeffC
    Oct 16, 2016 at 15:15

1 Answer 1

0

You can use

using RemoteWebDriverExtended=global::Open.Qa.Selenium.Remote.RemoteWebDriverExtended
...
RemoteWebDriverExtended Driver = new RemoteWebDriverExtended(...)
1
  • Thanks Gevorg, I tried that but it is not working. still - Method not found on runtime
    – Yuval Levy
    Oct 16, 2016 at 11:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.