I'm getting really confused with python and selenium. I've set up both chrome and Phantomjs with selenium on mac and it's working ok.
However, I can only run phantomjs as headless, and it's getting really frustrating having to code things twice (for phantom and chrome), just so I can see what is happening. Especially, since they work quite differently.
From what I understand there are these two things:
Docker selenium - https://github.com/elgalu/docker-selenium
This allows headless firefox and chrome, using VNC to see what is happening.
Selenium Grid Extension - https://github.com/zalando/zalenium
This allows parallel execution. However, I'm wondering do I really need this, since I wrote my parallel execution routine already in unittest?
From previous research my understanding is that selenium grid doesnt really work for Python (its java based)
If anyone can set me straight on what to use that would be great.
I'm thinking to just use the chrome headless and hopefully I will still be able to do my parallel execution in unittest
You're mixing a bunch of things, let's clarify:
webdriver
to create whichever browser you want.remotewebdriver
in whatever language.So I hope it's
set you straight
;)