-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got it working locally, but could not get it working with sauce-labs
- Loading branch information
1 parent
cc6af68
commit 21623e5
Showing
15 changed files
with
138 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extends: '@istanbuljs/nyc-config-babel' | ||
all: true | ||
skip-full: false | ||
exclude: | ||
- 'lib/**/*.js' | ||
- 'dist/**/*.js' | ||
- 'scripts/**/*.js' | ||
- 'coverage/**/*.js' | ||
- 'src/test/clients/waychaser-via-webdriver-chrome.js' | ||
- 'src/test/clients/waychaser-via-webdriver-firefox.js' | ||
- 'src/test/clients/waychaser-via-webdriver-saucy.js' | ||
check-coverage: false | ||
|
||
reporter: | ||
- text-summary | ||
- lcov | ||
- text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extends: '@istanbuljs/nyc-config-babel' | ||
all: true | ||
skip-full: false | ||
exclude: | ||
- 'lib/**/*.js' | ||
- 'dist/**/*.js' | ||
- 'scripts/**/*.js' | ||
- 'coverage/**/*.js' | ||
- 'src/test/clients/waychaser-via-webdriver-firefox.js' | ||
- 'src/test/clients/waychaser-via-webdriver-chrome.js' | ||
- 'src/test/clients/waychaser-via-webdriver-local.js' | ||
check-coverage: false | ||
|
||
reporter: | ||
- text-summary | ||
- lcov | ||
- text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import safari from 'selenium-webdriver/safari'; | ||
// eslint-disable-next-line no-unused-vars | ||
import logger from '../../util/logger'; | ||
import { WaychaserViaWebdriverLocal } from './waychaser-via-webdriver-local'; | ||
|
||
class WaychaserViaWebdriverSafari extends WaychaserViaWebdriverLocal { | ||
getBrowserOptions() { | ||
return new safari.Options(); | ||
} | ||
|
||
setBrowserOptions(builder, options) { | ||
return builder.forBrowser('safari').setSafariOptions(options); | ||
} | ||
|
||
async getBrowserLogs() { | ||
// getting logs is not possible wtih safari | ||
// https://stackoverflow.com/questions/46272218/unable-to-console-logs-from-safari-using-selenium-webdriver-python | ||
} | ||
} | ||
|
||
const instance = new WaychaserViaWebdriverSafari(); | ||
|
||
export { instance as waychaserViaWebdriverSafari }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import fetch from 'cross-fetch'; | ||
import fetch from 'isomorphic-fetch'; | ||
|
||
class ApiResourceObject {} | ||
|
||
|