Answer the question
In order to leave comments, you need to log in
Why doesn't PhantomJS work with Selenium?
The developed parser (Python + Selenium) works as required with the Chrome driver . The task is to run the program in the background (without windows), so I chose PhantomJs . But for some unknown reason, the phantom does not want to work with my parser, opens the first page and cannot find the elements I need.
There is nothing supernatural in the parser: fill in the fields, click on the forms, etc. I work directly with input/select/option.
I don’t transfer any settings (although I read that you need to configure SSL, I tried it, but it didn’t help).
What could be wrong? Who worked with PhantomJs and Selenium - please share your experience.
Answer the question
In order to leave comments, you need to log in
There is a solution that will allow you to run everything in the background without changing the driver .
here to see the code. You can also have a website in addition to see how it all works live
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question