cognitom / wdio-phantomjs-service

WebdriverIO service to start & stop PhantomJS
MIT License
8 stars 1 forks source link

how it works? #5

Closed GGuru closed 8 years ago

GGuru commented 8 years ago

Can you help me understand how this works?

How is this different from using wdio-selenium-standalone-service and specifying phantomjs in the capabilities? From a cursory look, I don't think this uses wdio-selenium-standalone. how does it invoke phantomjs without selenium server?

cognitom commented 8 years ago

Hi @GGuru,

Selenium Server is a kind of "hub". We could easily access multiple browsers through it. But if we use only PhantomJS, we don't need to use that "hub". We can connect to PhantomJS via WebDriver directly.

What wdio-phantomjs-service does is just two:

I hope it would be an answer for your question.

GGuru commented 8 years ago

Thanks @cognitom That helps.