Webinar: The Keys to a Successful Oracle EBS upgrade, Dec 7th, 2022, 10:00 AM EST →  Register now!
x

Steps to setup selenium grid on MAC machine for Opkey Execution

December 30, 2016
   /   
by 
Iffat Ara Khanam

Steps to setup selenium grid on MAC machine for Opkey Execution –

  1. Start 'Terminal window' in your MAC machine.
  2. Use the following command (assuming selenium-server-standalone 3.4.0 ( http://www.seleniumhq.org/download/)  is on your MAC machine

Java -jar /Users/Admin/Desktop/selenium-server-standalone-3.4.0.jar -role hubExecution on Safari web browser (On Mac Machine) –

  1. Run the following command on your Mac machine: Java -jar /Users/Admin/Desktop/selenium-server-standalone-3.4.0.jar -role node -hub http://localhost:4444/grid/register
  2. For Safari, you must follow few compulsory steps prior to running the above commands.

Execution on Firefox web browser (On Mac Machine) –

  1. Run the following command on your Mac machine:

Java -jar /Users/Admin/Desktop/selenium-server-standalone-3.4.0.jar -role node -hub http://localhost:4444/grid/register Execution on Chrome web browser (On Mac Machine) –

  1. Run the following command on your Mac machine: java -jar /Users/Admin/Desktop/selenium-server-standalone-3.4.0.jar -role node -hub http://localhost:4444/grid/register -Dwebdriver.chrome.driver=/Users/Admin/Desktop/chromedriver
  2. Download latest Chromedriver 2.14 for Mac (From http://chromedriver.storage.googleapis.com/index.html?path=2.22/) if your chrome on MAC is greater than or equal to 39.
  3. Unzip it

Steps to be followed on Windows Opkey for Suite execution over Mac using Safari, Firefox & Chrome browsers –

  • Go to Opkey > Tool Menu > Plugin Settings - host - IP of Mac machine port - 5555 (this port number is only for safari)
C:Usersradheshyam.prajapatiDesktopa2 - Copy.jpg
  • Go to Opkey (Window Machine) Tool Menu - Plugin settings - Selenium tab and set the host and port which is of your MAC machine and save it.
  • Change the browser name (safari) and execute it.