OpKey Blog

Steps to setup selenium grid on MAC machine for OpKey Execution

Radhe Shyam Prajapati 30.12.2016
 
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 hub

 
Execution 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.

Recent Posts

Free Trial

This site use Cookies to deliver our Service. By using this site you acknowledge that you have read and accepted Our Privacy and Cookie Policy. Your interest in OpKey or use of its free trial or purchase of a subscription package is subject to these Terms and Policies