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
1
vote
4 answers

how to perform same key press event in safari?

selenium 3.0.2 safari 10 (using built in safari driver) python 2.7.10 OSX 10.11.16(El Capitan) How to perform key press event (Right/Left/Up/Down) more than once using send_keys(Keys.Right) (i.e trying to move focus with repetitive key…
Ami Patel
  • 296
  • 1
  • 13
1
vote
1 answer

Exception while deleting cookies with Safari 10 / Selenium 3.0.1

I'm having a problem adding and deleting cookies with the native SafariDriver in Safari 10.0: A generic WebDriverException is thrown and I'm looking for a fix or a workaround. This is occurring with the following components: Mac OS X 10.11.6 (El…
Alan M.
  • 11
  • 3
1
vote
0 answers

Selenium Maximize Window in a Suite

Hey guys Im trying to use driver.manage().window().maximize(); within each class that is enclose within a suite. I would create the driver then maximize it. However when adding these classes that use these After and Before calls into a suite they do…
Potion
  • 785
  • 1
  • 14
  • 36
1
vote
1 answer

My code Thread.sleep works but not Implicit Wait?

So I understood fluent and explicit waits but I could never get the implicit statements to work in the past. I managed to not deal with them using explicits but I then designed a test that was fairly simple but it would only work with Thread.sleep…
Potion
  • 785
  • 1
  • 14
  • 36
1
vote
4 answers

safardriver closes automatically before driver.close() is called in @Aftermethod

I'm running below test scripts in safari browser version 5.1.7 on windows 7. After running @test method I'm calling driver.quit() in @aftermethod. But safari browser is closing before it reaches @aftermethod and throws java.lang.NullPointerException…
Praveen PS
  • 127
  • 2
  • 5
  • 17
1
vote
1 answer

Launch Safari on Mac node from Windows PC with Selenium RemoteWebDriver and Grid

I'm trying to fire off a test to my iMac from my Windows PC. I have downloaded and installed the webdriver addon for Safari and I have established a connection to my Windows based Selenium Grid hub. When I try to run my test I receive an error for…
1
vote
1 answer

Running Cucumber Tests with Selenium on Mac OSX 10.11 For Safari

I've been searching around for a way to run our Behat (PHP dist of Cucumber) tests on Safari, however we encounter the problem of Selenium Safari Driver not being able to use simple click functionality, which is breaking the majority of our browser…
KyleFairns
  • 2,947
  • 1
  • 15
  • 35
1
vote
2 answers

Capybara Selenium Navigate To URL Hangs With Popup Alert on Safari

At the end of my tests Capybara automatically navigates to "about:blank" in order to set up the next test. Sometimes the application I'm testing will throw a popup alert if the user leaves the page (which is expected). I have some code to handle…
Kevin Smyth
  • 48
  • 1
  • 5
1
vote
0 answers

Enter data into input fields with SafariDriver - Java

I get the Safari browser to open and load the page, however, it does not enter any data into input fields. Below is some similar code for input I'm trying to do. driver = new…
Dustin N.
  • 785
  • 1
  • 14
  • 32
1
vote
1 answer

How to double click an element on Selenium Webdriver using JavaScript for Safari

I'm facing a problem double clicking an element on Safari using Java / Webdriver 2.48. The tests are working fine on IE, Chrome, and Firefox but Actions are not supported on Safari. Currently I'm doing something like this…
msiles
  • 657
  • 3
  • 10
  • 19
1
vote
2 answers

Does Selenium support Safari on Window 7?

Selenium official site (http://docs.seleniumhq.org/about/platforms.jsp) says "SafariDriver requires Safari 5.1+ and only runs on OS X" whereas in the official Safari driver site (https://code.google.com/p/selenium/wiki/SafariDriver), I can see the…
Naseem
  • 911
  • 5
  • 18
  • 48
1
vote
1 answer

Safari error, unable to lounch the browser

I wrote a basic script that runs in Firefox but keeps breaking on Safari, I searched different websites but couldn't find an answer that worked. Please help. I'm using Safari - Version 8.0 (10600.1.25) OS X Yosemite - Version 10.10 (14A389a) …
Sam
  • 11
  • 1
1
vote
0 answers

Downgrade Safari webdriver extension version to 2.38

There is a known issue with the Safari WebDrier extension version 2.45 working with Protractor (found here), i need to downgrade to 2.38 to work with my protractor tests, any idea how i can do this? i managed to locate the 2.38 extension .jar file…
Sirk
  • 1,547
  • 2
  • 12
  • 18
1
vote
1 answer

Failed to connect to SafariDriver. Selenium 2.44.0 run via a daemon on OSX Yosemite & Safari 8

Im currently on Yosemite and Safari 8. I keep getting this error: Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Failed to connect to SafariDriver after 10161 ms Build info: version: '2.44.0', revision: '76d78cf', time:…
BNK
  • 91
  • 2
  • 6
1
vote
2 answers

SafarDriver Selenium Page title is incorrect after loading new page

I have a Selenium 2 test that uses a login form and then asserts that the login has succeeded by verifying the page title has changed. The test is written in Java/JUnit, WebDriver and Fluent…
Ayub Malik
  • 2,488
  • 6
  • 27
  • 42