C# : Selenium firefox probleme -


i trying open firefox browser using selenium.

this first time selenium, want c# application discover if facebook page on browser (chrome , ie , firefox) opened.

but when try navigate firefox had following error message: (" an error occurred while connecting firefox")

i looking suggestions experts might have.

this code:

    using openqa.selenium;     using openqa.selenium.firefox;      iwebdriver driver  = new firefoxdriver(); 

ps : it's 100% worked ie , chrome can do?

@bassem alrefaie: have references set in project? references in form of dll's.

you must include dll's castle.core ; newtonsoft.json. try using these dll's , check.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -