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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -