Questions tagged [safaridriver]

`SafariDriver` is implemented as a Safari browser extension. The driver inverts the traditional client/server relationship and communicates with the `WebDriver` client using `WebSockets`

Safari 10 onwards Safari 10+ comes with bundled Safari WebDriver

Pre Safari 10 SafariDriver is implemented as a Safari browser extension. The driver inverts the traditional client/server relationship and communicates with the WebDriver client using WebSockets

169 questions
0
votes
2 answers

Safari driver hangs while running automation test

Safari Version: 11.0.2 MAC Version: 10.12.6 Mac OS Sierra selenium-java Version: 3.5.3 Language: JAVA Whenever I am running a selenium test on Safari Driver it hangs after running few steps (could not find specific pattern). Same test run file on…
Shiv
  • 11
  • 1
0
votes
1 answer

/usr/bin/safaridriver for Safari 10.1.2 (12603.3.8) on Mac OS Sierra 10.12.6 prompts for password on every invocation; even in same shell session

This: $ /usr/bin/safaridriver -p 0 Password: $ /usr/bin/safaridriver -p 0 Password: Ideally I'd love to never authenticate when starting safaridriver, but this appears to be a requirement now-- however, I have a test-runner which makes…
0
votes
1 answer

phpunit-selenium 's keys() not working for safari webdriver

I am struggling to find any solution to run keys() selenium function on safari webdriver. It is working fine for Firefox, Chrome and IE. I have gone through below solutions but did not found any working Selenium webdriver on Safari: Keys.ENTER not…
Dalip
  • 126
  • 1
  • 9
0
votes
2 answers

Protractor tests fail to start on Safari Sierra and throwing driver.version: unknown, SessionNotCreatedError error

Protractor version: 5.1.2 Safari version: 10.1.2 I have enabled 'Allow Remote Automation' from Safari -> Develop and started the safari driver from cmd using the following command: /usr/bin/safaridriver -p 8844 Now, trying to run the protractor…
Annu
  • 51
  • 1
  • 7
0
votes
1 answer

How to open local html file by Selenium Safari WebDriver on macOS?

I have tried: safariDriver.get("file:///Users/pathToMyHtml/index.html"); safariDriver.get("/Users/pathToMyHtml/index.html"); but none of them worked. I use Java and macOS Sierra. (If I open a page from http:// it's working)
0
votes
1 answer

SafariDriver Selenium sendkeys doesn't work, adds random sign?

I'm using Selenium with Mink. I want to open a page in Safari and log in. For that I use /** * @When /^(?:i|I) fill in "([^"]*)" with value "([^"]*)"$/ */ public function iInputSomethingFormField($selector, $value) { $page =…
yeaitsme
  • 91
  • 1
  • 9
0
votes
3 answers

Protractor safari redirect

I'm having trouble with safariDriver running tests with Protractor. everything works fine on chrome and phantom. so the problem is lets say i have a page i click on a link and it reroutes me to another page where it does something and then routes…
Chris Kim
  • 1
  • 1
0
votes
1 answer

Selenium: SafariDriver not opening in MacOSX Sierra

I have the latest Selenium, OSX and Safari versions but I'm unable to open Safari Driver using a code as simple as this: import org.openqa.selenium.WebDriver; import org.openqa.selenium.safari.SafariDriver; public class SafariDriverDemo { public…
KJTWF
  • 9
  • 8
0
votes
1 answer

selenium safari driver System.NotImplementedException

I am using selenium grid 3.3.1 on mac OS Sierra and run remotely commands from windows (using C# with selenium 3.3.1). When I tried to use ExpectedConditions.ElementToBeClickable I get the following exception: System.NotImplementedException was…
Hezi Israeli
  • 389
  • 1
  • 2
  • 14
0
votes
1 answer

Getting "Error: ConnectFailure (Connection refused)" when running safaridriver using Safari Technology Preview

Due to the issue in detecting element visibility in the current version of Safari and safaridriver, as mentioned here, I attempted to launch our tests using Safari Technology Preview. The call is here: return new SafariDriver("/Applications/Safari…
champ12
  • 59
  • 8
0
votes
1 answer

Receiving "Unable to start the server: Permission denied" when attempting to manually start safaridriver on macOS

I am attempting to run safardriver from the /usr/bin folder. If I run the command without sudo, using /usr/bin/safaridriver -p 0, I am still prompted for a password. Entering my password or the admins password does not work. If i run the command…
champ12
  • 59
  • 8
0
votes
0 answers

Simulate mouse move on safari with protractor

I have a function to simulate mouse move with protractor 5.0.0, safari webdriver2.48. browser.actions() .mouseMove(this.getCanvas().getWebElement(), points[0]) .mouseDown() .mouseMove(this.getCanvas().getWebElement(), points[1]) .mouseUp() …
Tam Vo
  • 301
  • 4
  • 13
0
votes
1 answer

How to driven safari10 with selenium3.0 in a remote environment?

I have a selenium grid environment, i already start chrome in windows7, i want start up safari, how to config safari? Here is my code: DesiredCapabilities desiredCapabilities = DesiredCapabilities.safari(); WebDriver driver = new…
Dale
  • 191
  • 1
  • 1
  • 12
0
votes
1 answer

FluentWait Not Working Properly: Youtube Example

So I had it working earlier but I messed up something in my code and now the FluentWait method doesnt seem to call properly. If I run it using quickRun set to false it works as intended (because of the implicit) but when I set it to true it doesnt…
Potion
  • 785
  • 1
  • 14
  • 36
0
votes
1 answer

Selenium explicit wait not working in new safariDriver 2.48.0

Explicit waits in my codes are not working in SafariDriver 2.48.0. it's working in chrome in windows and MAC. when wait is reached it's driver throwing exception File…
vishnu
  • 11
  • 3