Questions tagged [saucelabs]

Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing.

Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing. Automated testing on Sauce Labs is compatible with Selenium and JS testing frameworks.

445 questions
3
votes
1 answer

Getting "Failed to start Selenium listener." error message while running testcafe script through saucelabs

I am trying to run testcafe script through saucelabs. But getting the following error message. MAIN failed to create listener on port 4445 MAIN possible socket error: libevent connection error Failed to start Selenium listener. Please make sure…
user3389310
  • 151
  • 5
3
votes
1 answer

File download permission for appium chrome borwser

I am implementing an appium test on remote android driver, with chrome browser for loading urls. Some of the Urls are pdfs, and chrome asks to store those files. and appears that chrome doesnt have access to filesystem to store those files, which…
Anand Vaidya
  • 1,099
  • 8
  • 23
3
votes
0 answers

Detox with Saucelabs?

Curious to see if anybody has successfully configured the Detox automation framework with Saucelabs. I see it is mentioned on their site but they offer no support in regards to setting it up. I'm not really sure where to start as there seems to be…
3
votes
1 answer

Standalone vs embedded Browsermob proxy for cloud-based tests (Sauce Labs/Browserstack)

I made a working test locally with embedded Browsermob proxy server. Nothing new, but still here is the sample code. _server = new BrowserMobProxyServer() _server.start(); Proxy proxy = ClientUtil.createSeleniumProxy(_server); …
3
votes
0 answers

How can I use saucelabs connect with circle-ci 2.0?

In circle-ci 1.0 the config file seemed to specify dependencies. I noticed that in circle-ci 2.0 that this concept is gone to some degree. Sooo I tried the following: steps: - checkout - run: name: Install Sauce Connect …
Parris
  • 16,312
  • 15
  • 82
  • 125
3
votes
1 answer

Sauce Labs failing to execute javascript

I am using Selenium WebdriverJs in conjunction with Mocha to run tests on Sauce Labs via Travis CI. I have isolated my problem devoid of any project dependencies. Please help. So, what happens is that if I try to define an additional object having…
3
votes
2 answers

how to instantly set/send_keys a textarea in capybara

I need to instantly fill a textarea with a very long string for testing purposes. set/send_keys simulates typing and is too slow for Sauce Labs causing time outs. Is there a way to instantly fill a textarea in Capybara?
danksim
  • 555
  • 3
  • 7
  • 24
3
votes
3 answers

java.lang.Exception: Test class should have exactly one public constructor

I've following junit test package test.java.com.unit; import com.saucelabs.common.SauceOnDemandAuthentication; import com.saucelabs.common.SauceOnDemandSessionIdProvider; import com.saucelabs.junit.Parallelized; import…
Pooja
  • 51
  • 1
  • 5
3
votes
0 answers

Travis CI and Sauce Labs: Can I get Safari working?

I've got Travis CI working with Sauce Labs on Linux, OS X, and Windows, running tests on Firefox and Chrome. I'd like to get the tests running on Safari as well, but I ran into this. In a nutshell, Safari will only work with a few specific ports for…
kyrofa
  • 1,530
  • 1
  • 13
  • 19
3
votes
1 answer

Why does SauceLabs say my QUnit Test Fails when its clearly passing?

We are trying to use SauceLabs to verify that our browser-based QUnit tests are passing in popular device/browser combinations ... The tests PASS when we look at them in the browser: https://ordenado.herokuapp.com/ But for some reason SauceLabs is…
nelsonic
  • 25,667
  • 19
  • 83
  • 109
3
votes
1 answer

How to override useragent in firefox browser on saucelabs

Saucelabs:- https://saucelabs.com/ Am creating the firefox driver on saucelabs using the following:- DesiredCapabilities capabilities = DesiredCapabilities.firefox(); capabilities.setCapability("version", "5"); …
Sam
  • 4,294
  • 9
  • 35
  • 77
3
votes
1 answer

Browser extension testing with selenium c# in Saucelabs

Is it possible to test browser extensions with selenium c# in Saucelab. If so how and where to place the latest extension package in saucelab VM so that selenium launches the browser with the extension.
Vaish
  • 56
  • 4
3
votes
1 answer

With Rails 4 and selenium web driver, use Sauce Labs on Travis CI but not locally

I'm filling out specs for an open source Rails project and need to run the app in a browser for some of my feature specs. I'd like to use Sauce Labs on Travis CI, but without having to rewrite my specs to also use Sauce Labs locally, because: I…
3
votes
1 answer

Get protractor sessionId into a file

I need to get the job ID / session ID from a protractor run into a file so I can create links to screenshots / videos at Saucelabs . Is there a correct way to do this? One approach I'm looking at is to get the session ID from the browser object…
tariksbl
  • 1,037
  • 6
  • 20
3
votes
2 answers

Saucelabs: org.openqa.selenium.WebDriverException: The test with session id *** has already finished, and can't receive further commands

When i execute the test cases parallely, I get a lot of "The test has already finished errors." I am sure the following are not the cause as mentioned in Common error messages link here. driver.quit() is not the reason why the test is marked as…
Shyam Visamsetty
  • 434
  • 1
  • 6
  • 16
1 2
3
29 30