Is there a way to use PhantomJS in Python?

I want to use PhantomJS in Python. I googled this problem but couldn’t find proper solutions.

I find os.popen() may be a good choice. But I couldn’t pass some arguments to it.

Using subprocess.Popen() may be a proper solution for now. I want to know whether there’s a better solution or not.

Is there a way to use PhantomJS in Python?

8 Answers
8

Leave a Comment