1

I wanted to run selenium code in using python so, How to integrate with python

1 Answer 1

4

you can install it using pip:

pip install selenium

the documentation has a nice Getting Started section with some good examples. The example I created below is a very simple one that will load a url and print the page's title. You could use it to just check that everything is up and running.

from selenium import webdriver
driver = webdriver.Firefox()
driver.get("http://google.com")
print driver.title
driver.close()
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.