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

Is there any way to use the legacy protocol for Safari using Selenium C#

Host machine: Windows 10 with VS 2017, Selenium (.NET) & SpecFlow+ I've got a Mojave MacOS with Safari v12 on the network that I need to run my test scripts on. I'm running Selenium C# scripts on it using RemoteWebDriver but they are failing because…
faisalk
  • 129
  • 1
  • 14
0
votes
2 answers

Selenium webdriver not allowing to open multiple instances of Safari. Is it anyway of opening multiple instances?

When trying to open Multiple instances of Safari for example in test cases when trying to open new window selenium is giving SessionNotCreatedException- org.openqa.selenium.SessionNotCreatedException: Could not create a session: The Safari instance…
pkhauzhal
  • 27
  • 2
  • 9
0
votes
0 answers

WebDriverException: Message: Can not connect to the Service /usr/bin/safaridriver

While I'm trying to run my robot framework automation script in mac through command window(python -m robot users.robot), I'm getting an exception as follows: WebDriverException: Message: Can not connect to the Service /usr/bin/safaridriver Any help…
Poovin
  • 164
  • 3
  • 15
0
votes
1 answer

Safari dialoge box is not opening in automaton browser instance

I am automating an application on safari browser using Selenium and Java. For uploading a file on safari browser, I need to click on upload button. But the dialog box for selecting a file is not showing in Automation browser instance. While in…
Chintamani Manjare
  • 1,543
  • 1
  • 13
  • 28
0
votes
1 answer

protractor - setting safari options to set window size etc.,

like in chromeOptions, where we can set args and prefs, How can we provide safari.options to set window size? i tried the below with protractor 4.5.1/ safari 12.0 in Mac safari: { name: 'Safari', browserName: 'safari', window_size:…
S Pat
  • 409
  • 4
  • 15
0
votes
1 answer

How to send text to the username and password field within the webpage throug Safari Browser and selenium-webdriver

I am trying to login to the webpage for which I am supposed to write test scripts. But the login script fails each time in Safari, although the same script runs well on Chrome. Error message displayed: Sep 10, 2018 10:55:06 AM…
0
votes
1 answer

Safari driver asking every time to enable "Allow Remote Automation" in selenium

Safari driver throwing error "Allow Remote Automation". I have already enabled in main safari window but when executing the selenium test it throws the same exception again and again. Thanks in advance.
bugCracker
  • 3,656
  • 9
  • 37
  • 58
0
votes
1 answer

Safari driver wont close

Safari Driver closes the browser after automated test case have run but Safari browser instance hangs and I can still see it in the open apps. Any suggestion ? At the moment I am using the following snippet to shut the browser sessions (it works for…
Mariano
  • 1
  • 1
0
votes
1 answer

I am facing issue in executing our Selenium test on safari browser on Mac machine

We are facing issue in switching to the new window on safari browser. Below is our code used for switching the window. public void switchToWindow() { Set availableWindows = driver.getWindowHandles(); for (String strWinHandle…
0
votes
1 answer

Safari: Cannot establish new session

macOS: version 10.13.4 Safari: version 11.1 Selenium-standalone: version: 6.14.1 Summary: I'm getting "Cannot establish new session" in the driver logs when running automation on an instance of selenium-standalone that was started through a…
Rlupo07
  • 51
  • 1
  • 8
0
votes
0 answers

Safari Webdriver does throws an exception on initialization

I am working with Selenium safari webdriver. The tests were running fine and all of a sudden the safari webdriver is not working. I quit all the process of Safari instances. When initailising the webdriver two instances of the Safri browser opens up…
Rubenee
  • 25
  • 7
0
votes
1 answer

protractor not working with Safari 11

protractor version : 5.0.1 safari version : 11 Mac version : 10.13 selenium version : 3.0.1 Error message: safaridriver could not launch because it is not configured I have enabled the safari driver using the command --enable but still it is not…
0
votes
1 answer

Selenium java SafariDriver wait for page to load after click

When I run the following code, the execution abruptly ends unless I uncomment the Thread.sleep(). As result my code in the withdraw url servlet is not executed. The click is a submit button click which loads another page. …
0
votes
1 answer

Safari driver starts launching and immediately stops on mac

Getting below error on safari browser: 0.016s] [safaridriver.client] Connecting to SafariDriver browser extension... [ 0.027s] [safaridriver.client] This will fail if you have not installed the latest SafariDriver extension…
Pooja thakur
  • 1
  • 1
  • 1
  • 2
0
votes
0 answers

Unable to setup Node in mac for hub in windows

While setting up Selenium Grid: Windows as Hub Mac as Node While registering node in mac, the below error is displayed: Couldn't register this node: The hub is down or not responding: The hub responded with 305: Use Proxy Note: (1) Able to setup…