Click here to Skip to main content
15,884,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a wcf service in which i am using Selenium web-driver and which i need to return to workflow service,for that happen serialized web-driver require so what will i need to exactly do for that. Following is the WCF data contract which returns web driver instance object to workflowservice.

public IWebDriver webdriver function()
{
wDriver = new FirefoxDriver();
//here we have created selenium web driver instance//

//find elements and sendkeys

return webdriver;

}


returning webdriver object to workflow but workflow need to serialized webdriver but dont know how to serialize webdriver object because don't know type and attribute of this webdriver class.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900