selenium-google-code-issue-archive icon indicating copy to clipboard operation
selenium-google-code-issue-archive copied to clipboard

Unable to run Safari tests with Jenkins

Open lukeis opened this issue 8 years ago • 6 comments

Originally reported on Google Code with ID 8391

What steps will reproduce the problem?
1. Install Jenkins on Mac
2. Run test with Safari browser (even Hello World)
3. Safari instance opened


What is the expected output? What do you see instead?
I expect to see my tests interact with webpage, but I see
https://www.dropbox.com/s/9yww9nd8kjmpw5e/Screen_Shot.png?dl=0

When I click Open Preferences I see that Selenium Driver extension disabled (but it
was enabled in Safari before)

This issue not reproduced when I run my tests without Jenkins (maybe same user restrictions)

I tried to do all steps from https://code.google.com/p/selenium/issues/detail?id=7933
1. Manually install extension
2. Give all permissions to Safari directory etc.
3. Set -Dwebdriver.safari.noinstall=true in maven parameters

Selenium version: 2.44.0
OS: OSX 10.10.1
Browser: Safari
Browser version: 8.0.2

Reported by Silfromkpi on 2015-01-15 16:26:33

lukeis avatar Mar 04 '16 09:03 lukeis

Reported by barancev on 2015-01-17 21:02:26

  • Labels added: Browser-Safari

lukeis avatar Mar 04 '16 09:03 lukeis

I am having the exact same problem.

Jenkins on Mac, Safari 8.0.2, OSX 10.10.2, Browser: Safari

Reported by Brian.Michael.Carlson on 2015-01-28 20:52:33

lukeis avatar Mar 04 '16 09:03 lukeis

I am facing the same issue. Can anyone please suggest a work around to over come this
issue.

Selenium version: 2.44.0
OS: OSX 10.10.1
Browser: Safari
Browser version: 8.0

Reported by [email protected] on 2015-02-05 13:03:21

lukeis avatar Mar 04 '16 09:03 lukeis

Like a workaround I use another Jenkins instance as Master and MacMini instance like
Slave. Launch slave agent via Java Web Start https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds

Reported by Silfromkpi on 2015-02-05 13:12:42

lukeis avatar Mar 04 '16 09:03 lukeis

Be aware to register Slave from MacMini terminal, instead of create some scripts.

Reported by Silfromkpi on 2015-02-05 13:14:57

lukeis avatar Mar 04 '16 09:03 lukeis

Reported by luke.semerau on 2015-09-17 17:47:30

  • Labels added: Restrict-AddIssueComment-Commit

lukeis avatar Mar 04 '16 09:03 lukeis