1

I am using Selenium RC to create a framework with JAVA in MAC OS and Safari browser. Now to click on the CANCEL button in the safari browser print dialog box, I am using apple script. In the same system where the project is present and the browser is opening then the apple script is working fine. But if we are trying to open the browser in some other system in the same network then the apple script is not working. Also I tried with the JAVA ROBOT Keys. The same problem also persists there.

Please help me to resolve this problem so that I can cancel the PRINT browser popup.

2

I made use of the socket programing to send the apple script command to the system where the browser will open and once receive the command executing it there.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.