![]() STEP 7 : Open Terminal ( CTRL + ALT + T ) and type cd desktop STEP 6 : Goto ChromeDriver Storage and download the file -> save it -> extract the file on Desktop. : Message: 'chromedriver' executable needs to be in PATH. But if you see the following result : driver = webdriver.Chrome()įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 61, in _init_įile "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/service.py", line 73, in start STEP 5 : If the chrome or chromium browser open after hitting enter. STEP 4 : Open terminal and type cd you/path/to/code/filename.py STEP 3 : Type or paste the following code in your favorite text editor.ĭriver = webdriver.Chrome() # you can use Firefox or PhantomJS STEP 2 : Type the following command to install selenium binding for linux. STEP 1 : Open your console and type : sudo apt-get install python-pip However, a better approach would be to use pip to install selenium or other python packages. You can download Python bindings for Selenium from the PyPI page of selenium package. The current supported Python versions are 2.7, 3.2, 3.3 and 3.4. ![]() Selenium Python bindings provide a convenient API to access Selenium WebDrivers like Firefox, Ie, Chrome, Remote etc. ![]() Through Selenium Python API you can access all functionalities of Selenium WebDriver in an intuitive way. Selenium Python bindings provides a simple API to write functional/acceptance tests using Selenium WebDriver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |