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
0 answers

Selenium_Tab switching is not working in Safari browser

Still looking for resolution for following problem: In Safari version 12: org.openqa.selenium.InvalidArgumentException: Request body does not contain required parameter 'handle'. I did see some solution saying use legacy, but not sure how to do…
0
votes
1 answer

Safari does not support execution of automation scripts on multiple thread,

Safari does not support execution of automation scripts on multiple threads, Please let me know if there are any alternatives to run selenium tests in parallel. I am running tests in parallel on other browsers like chrome and firefox. The Framework…
0
votes
1 answer

How to switch to new tab using selenium C# for Safari Browser

I want to switch to new tab opened by clicked link in Safari browser for MACOS. Code which is used for Chrome is not working for Safari browser. driver.SwitchTo().Window(driver.WindowHandles.Last()); tried below code but not working- 1. …
Uday
  • 1
  • 2
0
votes
1 answer

Safari 13 pops up 'Glass Pane' when using Selenium sendKeys() to element

NOTE: The same thing is working as expected in Safari 12.1.2 but it's broken in Safari 13.0 & 13.1 Issue: System pops up 'Glass Pane' when using Selenium sendKeys() method to element. Background: I want to upload a file (ex. image) in my…
0
votes
1 answer

How to handle basic url authentication using selenium in Safari browser

In chrome below solution is working: driver.get("https://username:password@something.com"); In firefox below solution is working: driver.get("https://username:password@something.com); and then: driver.get("http://something.com"); In safari both…
Sooraj
  • 565
  • 3
  • 8
0
votes
4 answers

Click event not working in Safaridriver on Catalina OS where the same working on Firefox and chrome

Click action is not performed in the Safaridriver on OS Catalina Safari v13.02 Tried working with javascript which is working fine , but that's the work around and it doesn't go with my existing framework Click is performed without any error and on…
0
votes
1 answer

Error when I run auto test with browser. How run it?

I need to run autotests. But both in Safari and in FireFox, such an error occurs. Safaridriver cannot be installed in Safari with version 10+. I tried to add drivers for these browsers to the project, I tried to write in the terminal: safaridriver…
NeverSleeps
  • 1,439
  • 1
  • 11
  • 39
0
votes
2 answers

Unable to perform parallel execution on safari on mac using selenium

I have around 1600 java TCs written using selenium. While executing test scripts in parallel (say thread count = 5), I am able to trigger 5 safari webdrivers and scripts are executing parallel. But, when the 6th (threadcount +1) script gets invoked,…
0
votes
0 answers

How to increase RemoteWebDriver's HTTP request timeout

I am using selenium "selenium-server-standalone-3.141.59.jar" and started hub and node as shown below. Hub is running on a Windows PC and the Safari node is on a MacMini. java -Xmx4000m -jar selenium-server-standalone-3.141.59.jar -host…
Rasika
  • 312
  • 1
  • 7
  • 19
0
votes
0 answers

Couldn't locate an element by these strategies: By.id; OpenQA.Selenium.WebdriverTimeoutExceltpion: Timed out after 1 seconds

I have written an automation framework in VS2017 using Selenium Webdriver in C# and PageObjects. That is working absolutely fine in windows. Same PageObjects code is used in VS2017 for MAC OS and it is not working there giving…
0
votes
1 answer

Is there a way to run nightwatch on Safari v12.1?

My mac auto-updated safari to v12.1, but now I can't run my nightwatch tests against safari. I just always get the error: "Request body does not contain required parameter 'capabilities'.". I think it's related to this issue:…
Alex Egli
  • 1,884
  • 2
  • 24
  • 43
0
votes
1 answer

WebDriverException: /usr/bin/safaridriver unexpectedly exited error when running in CircleCI container

I'm using Selenium + Python 2.7 to run automated tests in CircleCI without any problem but when I try to run them using Safari browser I get following error and tests inmediately exit: WebDriverException: Message: Service /usr/bin/safaridriver…
Snatcher
  • 1
  • 2
0
votes
0 answers

Can't enter username into popup authentification window Java, selenium (in Safari and Opera)

Can't enter username into popup authentication window Java, selenium (in Safari and Opera) This constriction doesn't work both in Safari and Opera: driver.get(“https://username:password@example.com”) And this doesn't work too: Alert alert =…
Yuliia
  • 1
0
votes
1 answer

Basic browser authentication with Safari Capybara Selenium

I've got a problem with browser authentication on Safari using Capybara/Selenium. I'm using this code to authenticate: visit "https://#{ENV['AUTH_USERNAME']}:#{ENV['AUTH_PASSWORD']}@my-staging-app.heroku.com" This works just fine on Chrome and FF…
Matthew Jaeger
  • 59
  • 1
  • 11
0
votes
1 answer

Using Selenium Grid to run Safari on MacOS Mojave

I'm trying to do a basic test using Selenium Grid to start Safari on a MacOS. I have registered the node and its appears in my hub as the following. Hub Confirmating node is up browserTimeout: 0 debug: false host: 10.120.45.211 port: 5558 role:…