Reputation: 55
I wanted to run selenium code in using python so, How to integrate with python
Upvotes: 1
Views: 385
Reputation: 26788
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()
Upvotes: 4