Selenium provides its API implementation in multiple programming languages. However, Selenium API Java-based bindings are the most popular. In this tutorial, we will learn how to download Selenium JARs and configure Eclipse IDE to use them in writing test scripts. To install eclipse on our MacOS, we must download the latest version of eclipse by visiting its official website or simply clicking the link http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/1a/eclipse-java-oxygen-1a-macosx-cocoa-x8664.dmg.
See JDK 7 and JRE 7 Installation Guide for general information about installing JDK 7 and JRE 7.
See the Mac OS X Platform Install FAQ for general information about installing JDK 7 on Mac OS X.
Contents
System Requirements
Any Intel-based Mac running Mac OS X 10.7.3 (Lion) or later.
Administrator privileges.
Note that installing the JDK on a Mac is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.
Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. To install a lower version of the JRE, first uninstall the current version.
JDK 7 Installation Instructions
Installation of the 64-bit JDK on Mac Platforms
When you download the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure.
Depending on your processor, the downloaded file has one of the following names:
jdk-7u<version>-macosx-amd64.dmg
jdk-7u<version>-macosx-x64.dmg
Where <version> is 6 or later.
1. Download the file. Before the file can be downloaded, you must accept the license agreement.
2. From either the Downloads window of the browser, or from the file browser, double click the .dmg file to launch it.
Free Download Eclipse Java Ide
3. A Finder window appears containing an icon of an open box and the name of the .pkg file Double click the package icon to launch the Install app.
4. The Install app displays the Introduction window. Click Continue.
4a. Note that, in some cases, a Destination Select window appears. This is a bug, as there is only one option available. If you see this window, select Install for all users of this computer to enable the continue button. Click Continue.
5. The Installation Type window appears. Click Install.
6. A window appears which says 'Installer is trying to install new software. Type your password to allow this.' Enter the Administrator login and password and click Install Software.
7. The software is installed and a confirmation window appears. Click the ReadMe for more information about the installation.
After the software is installed, delete the dmg file if you want to save disk space.
Determining the Default Version of the JDK
A: If you have not yet installed Apple's Java Mac OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See Note for Users of Macs that Include Apple Java 6 Plug-in.
There can be multiple JDKs installed on a system – as many as you wish.
When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.
You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 7u6, you will see a string that includes the text 1.7.0_06. For example:
Sonnox for mac download. It has got some staggering interfaces and precision control. It has been equipped with 7 very powerful mixing plugins which are used by the musicians and professionals all over the world. It is full Latest Version setup of Sonnox Oxford VST Bundle Premium Pro DMG for Apple Macbook OS X.Brief Overview of Sonnox Oxford VST Bundle for Mac OS XSonnox Oxford VST Bundle for MacOS X is an impressive collection of the Oxford plugins which has got a very good reputation and are famous for the high quality processing.
To run a different version of Java, either specify the full path, or use the java_home tool:
For more information, see the java_home(1) man page.
Uninstalling the JDK
To uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.
Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:*
For example, to uninstall 7u6:
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.
*The 7u4 and 7u5 releases were installed into a directory that does not follow this format. To uninstall 7u4 or 7u5, remove the 1.7.0.jdk directory from the same location.
You may want to print these instructions before proceeding, so that you can refer to them while downloading and installing Eclipse. Or, just keep this document in your browser. You should read each step completely before performing the action that it describes. This document shows downloading and installing Eclipse (Luna). You should download and install the latest version of Eclipse. The current latest (as of Fall 2018) is Eclipse 2018-09.
Eclipse: Luna
The Eclipse download requires about 200 MB of disk space; keep it on your machine, in case you need to re-install Eclipse. When installed, Eclipse requires an additional 200 MB of disk space.
Downloading
Click Eclipse
The following page will appear in your browser. In this handout we will download Eclipse Standard 4.4 for Mac OS. The version you should download is Eclipse IDE for Eclipse Committers.
It is critical that Java, Python, and Eclipse are either all 32 Bit or are all 64 Bit (and only if your Machine/OS supports 64 Bit): I think it easiest on Macs to use 64 Bit for everything.
Click the 64-bit after Mac Cocoa for your machine, to the right of Eclipse Standard 4.4 (right under Eclipse Luna R Packages).
You will see the following page (don't worry about the name of the institution to the right of the big downward pointing arrow).
Click the big downward pointing arrow underneath the Download eclipse-standard-luna-R-macosx-cocoa-x86_64.tar.gz from: The site named here, in purple to the right of the arrow: [United States] ibiblio (http) is the random one chosen by the download page this time; yours may differ.
If you see the following pop-up window
ensure the Save File radio button is depressed and click OK.
This file should start downloading in your standard download folder. This file is about 200 Mb so it might take a while to download fully if you are on a slow internet connection (it took me a few minutes over a cable modem). Don't worry about the exact time as long as the download continues to make steady progress.
After the download has finished, terminate the window browsing the Eclipse download.
Move this file to a more permanent location, so that you can install Eclipse (and reinstall it later, if necessary).
Start the Installing instructions directly below.
Eclipse Download Mac Java
Installing (for Python)
Python and Java should be installed before installing Eclipse
Unzip eclipse-standard-luna-R-macosx-cocoa-x86_64.tar.gz by double-clicking it.
Unzipping this file creates a folder named eclipse; unzipping 200 MB can take a few minutes. You can leave this folder here or move it elsewhere on your hard disk.
Create an alias on the desktop to to the eclipse file in this eclipse folder: On the Mac, you can
Control-click the file eclipse.exe
Select the Make Alias option.
Move it to the desktop.
Now you are ready to perform a one-time only setup of Eclipse on your machine.
Double-click the alias to Eclipse that you just created above.
Ccleaner for macs. If the following pop-up window appears
click Open.
The following splash screen will appear
and then a Workspace Launcher pop-up window will appear.
In the Workspace text box, your name should appear between /Users and /Documents, instead of ellenolshansky (I did this on my wife's Mac).
Leave unchecked the Use this as the default and do not ask again box. Although you will use this same workspace for the entire quarter (checking projects in and out of it), it is best to see this Workspace Launcher pop-up window each time you start Eclipse, to remind you where your workspace is located.
In fact, it is a good idea to create on your desktop an alias to your workspace folder; but you must click OK (see below) before Eclipse creates this folder and you can alias it.
Click OK.
Progress bars will appear as Eclipse loads.
Eventually the Eclipse workbench will appear with a Welcome tab covering it.
Terminate (click X on) the Welcome tab.
You will not see the Welcome tab when you start Eclipse again, after this first time.
Click Help (on the far right of the top toolbar) and then click Install New Software.. in its pull-down menu, as shown below.
The Install pop-up window will appear.
Enter the text (or cut/paste from this document) http://pydev.org/updates into the Work with text box and press Enter (if that doesn't work, try http://www.pydev.org/updates).
In a few seconds the information under Name should change from There is no site selected to Pending to
Select only the top PyDev checkbox; do NOT select the PyDev Mylyn Integration (optional) box. Check before proceeding that the Install pop-up window appears as
Click Next >
A new Install pop-up window will appear.
Click Next >
A new Install pop-up window will appear.
Selecet the I accept the terms of the license agreement radio button, so the window appears as
Click Finish
An Installing Software pop-up window will appear. During installation, it will show the various operations it is performing and a progress bar for each one. Because the installer is fetching various files online, this process might take a few minutes.
The installation will pause, and a Selection Needed pop-up window appears.
Check the box labeled Brainwy Software; Pydev; Brainwy.
Check before proceeding that the Install pop-up window appears as
Click OK
The installation will finish (showing the final progress bars).
A Software Updates pop-up window will appear.
Click Yes
Eclipse will terminate and restart. As you did in step 3, click OK to the Workspace Launcher pop-up window.
Click Eclipse (to the right of Apple logo on the far left of the top tool bar), and then click Preferences in its pull-down menu, as shown below.
Drill down to select the interpreter:
Disclose PyDev by clicking the triangle in front of PyDev or double-clicking PyDev (after the triangle).
Disclose Interpreters by clicking the triangle in front of Interpreters or double-clicking Interpreters (after the triangle).
Select Python - Interpreter.
The Preferences pop-up window should appear as follows
Click New.. at the top-right of the top window
A Select Interpreter pop-up window appears.
Type python34 in the Interpreter Name text box. Type (or cut/paste) //usr/local/bin/python3 in the Interpreter Executable text box (or browse to this file). The Select Interpreter pop-up window should appear as
Click OK.
A Selection needed pop-up window will appear.
Ensure that a check appears in all four checkboxes.
Click OK.
The Preferences pop-up window will be changed to
Click OK.
A Progress Information pop-up window will appear.
During installation, it will show the various operations it is performing and a progress bar for each one. Eventually the installation will terminate.
Click Window (to the left of Help on the far right of the top tool bar), hover over Open Perspective in the pull-down menu and then click Other.. in the next pull-down menu.
The Open Perspective pop-up window will appear.
Double-click PyDev (third from the bottom)
The label on Eclipse will change from Java - Eclipse to PyDev - Eclipse, and the Package Explorer in the upper-left tab will change to PyDev Package Explorer, and a PyDev icon will appear to the right of the Java icon.
Right-click the Java icon to the left of the PyDev icon and select close
The Eclipse workbench will now have only the PyDev icon here and will look like
Download the courselib.zip file.
In the pop-window that appears
ensure the Save File radio button is depressed and click OK.
Locate the workspace folder created in step 3 (see /Users/yourname/Documents/workspace) and copy the courselib.zip file into this workspace and unzip it there, producing the courselib folder; it should should contain a bunch of Python module files (ending in .py). From time to time you will be asked to put other course-specific Python module files into this courselib folder; these modules will be usable in all Python projects in Eclipse.
Inform Eclipse to use the courselib folder in all Python projects.
Select Eclipse | Preferences.
Disclose PyDev by clicking the triangle in front of PyDev or double-clicking PyDev (after the triangle).
Disclose Interpreters by clicking the triangle in front of Interpreters or double-clicking Interpreters (after the triangle).
Select Python - Interpreter.
Click the Libraries tab (leftmost, above the bottom pane)
Click the New Folder button (topmost, right of the bottom pane)
Browse to the courselib folder (added above) in the Browse for Folder pop-up window (/Users/yourname/documents/workspace/courselib).
Click the courselib folder selected, and then click OK
Click Apply (you will see some progress bars) The <><>< b=' /> pop-up window should now appear as
Notice a fifth entry (ending in courselib appears at the bottom of the bottom pane named System PYTHONPATH
< />< />
Cick OK
Terminate (click X on) the Eclipse window.
Eclipse Ide For Java Developers Eclipse is now installed for Python.