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
45
votes
1 answer

HTTP basic authentication URL with "@" in password

I'm trying to set up some selenium tests to our staging server using Sauce Labs. It's behind a basic http auth, so theoretically I could set the selenium URL to http://user:password@www.stagesite.com. However, the password contains a "@", causing…
jraede
  • 6,606
  • 5
  • 27
  • 31
15
votes
6 answers

How to programmatically configure Chrome extension through Selenium WebDriver

I need to install and configure an extension in Chrome to modify all request headers during Selenium test execution. I've been able to follow an example from this support article in Saucelabs showing how to do this for Firefox locally, but not sure…
12
votes
8 answers

WebDriver - element is not clickable Chrome

I have following problem. I run test on Firefox and Chrome. On Firefox test run correctly but on Chrome SauceLabs give a message: unknown error: Element is not clickable at point (717, 657). Other element would receive the click:
Sowiarz
  • 1,051
  • 2
  • 12
  • 27
12
votes
1 answer

Running e2e tests on Sauce Labs from Protractor on Travis

So I have my open source project (https://github.com/ahmednuaman/radian) and I have some e2e tests that run fine locally using Protractor. I've followed the Sauce Labs docs and set up my .travis.yml accordingly. The tests run right to the point…
Ahmed Nuaman
  • 11,324
  • 13
  • 50
  • 80
9
votes
2 answers

Cypress with Sauce Labs

In the Cypress docs they states (under the "Sauce Labs" subsection): Cypress’s API is written to be completely compatible with Sauce Labs, even though our API is not Selenium based at all. We will be offering better integration with Sauce Labs in…
Maurice
  • 1,010
  • 10
  • 18
9
votes
2 answers

Travis-CI + Sauce Connect + Behat: Unable to get Internet Explorer to run tests

I have Travis-CI running Sauce Connect to run Behat tests. Everything works just fine if I tell Sauce to use Firefox 26 on Windows 7. But if I change the browser to Internet Explorer (any of the three versions that Sauce Labs makes available on…
Trott
  • 52,114
  • 21
  • 134
  • 179
9
votes
1 answer

How can I use selenium-webdriver package with SauceLabs?

SauceLabs gives examples of how to write remote tests using the WD node package. I prefer the selenium-webdriver package. Is there some way to use that remotely instead?
Anonymous
  • 3,136
  • 2
  • 33
  • 47
9
votes
3 answers

Clear old tests from the results page

How do I clear old tests from the tests page in Sauce Labs? I've got allot of noise on there from trying out stuff and I'd like to tidy it up. In the long run there will be lots of uninteresting builds, I'd like to be able to archive\remove them so…
BanksySan
  • 24,077
  • 27
  • 94
  • 189
8
votes
1 answer

I'm providing 'sauceUser' and 'sauceKey' in my config yet sauce says I'm trying to authenticate with username 'None' and access key 'None'

I'm trying to test a mobile app written using Ionic and since Ionic is based on Angular, I want to write tests using Protractor and run the tests in mobile emulators using Saucelabs Appium. I invoke protractor using the…
Patrick Canfield
  • 1,575
  • 1
  • 11
  • 17
7
votes
1 answer

Getting started with Protractor, Travis and SauceLabs

I'm trying to get my open source project tests up and running within Travis CI. I have them working locally using a Selenium server. Seems a relatively simple process but I am lacking some basic knowledge to complete the task. I have my .travis.yml…
Greg
  • 30,678
  • 16
  • 63
  • 84
7
votes
1 answer

Mixing Client-/Server-Side Tests

How should I structure tests containing a mixture of Selenium code (for setting up the page), and client-side Mocha code (for actually performing the tests on the client-side JS being tested)? I am testing a client-side javascript library. Unit…
Mark Feltner
  • 2,031
  • 1
  • 10
  • 22
7
votes
1 answer

Is it possible to limit ammount of concurrent builds in Travis-CI

We use Travis-Ci with OpenSauce to test our web application. OpenSauce has a limit for concurrent running of tests - 2 tests. Travis-CI by default can run much more build/tests in parallel. As the result of different limits our builds fail…
Sergey Korotkov
  • 291
  • 2
  • 7
7
votes
5 answers

Get Session ID for a Selenium RemoteWebDriver in C#

I'm trying to get a session id for a test being run on the SauceLabs cloud, but I can't seem to access it. I've tried the following approaches: //Returns null var sessionId =…
elucid8
  • 1,312
  • 2
  • 17
  • 39
7
votes
2 answers

Where are the code examples for connecting your tests to Sauce Connect?

I've read the: Sauce Labs: Connect page and looked through Internet but I can't find any documentation on how to convert my Selenium tests to use Sauce Connect. Could someone point me in the right direction? Cheers Dave
BanksySan
  • 24,077
  • 27
  • 94
  • 189
6
votes
1 answer

karma-sauce-launcher disconnects every test run resulting in failed runs with IE and Safari

I have been having this exact issue for months now, through multiple versions of each component involved (karma, socket.io, sauce-connect). Currently I'm running on Karma 12.16. Basically, when using…
junken
  • 2,013
  • 1
  • 13
  • 9
1
2 3
29 30