Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey Guys,

Currently I am using Selenium for automation and scrapping. Everything working fine but it's bit slow and minor issues. My solution developed using C#.

I am planning to use PhantomJS as a backup thing but don't want to use Selenium to as part of it.

My Questions:

1. How can I implement keep alive session because I don't want to login again and again. It will login once and then wait for operation to come.

2. How can I pass dynamic task (operation) to that session. for e.g. Read value for specific textbox and then after few minutes read value from table.

Is this sort of thing possible to do with phantom JS without using selenium.

Thanks

What I have tried:

I was searching on web but didn't find anything related to it. With selenium GhostDriver can use to communicate with PhantomJs and it will be in single session. I want to build same thing without selenium.
Posted
Updated 26-Jun-16 21:32pm

1 solution

First, realize that you are going to try to achieve some form of functional equivalence using two very complex code entities, Selenium, and Phantom. Unless you are a very advanced web-stack developer, I suggest you not start down this road.

Second, Phantom has a support group here: [^]. Selenium user group: [^].

I think you will probably need to ask for support on the projects' user groups.
 
Share this answer
 

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