Comments (5)
Hi @vitalets
I assume you mean chrome options here. If you so you need to provide them through a 'goog:chromeOptions'
object.
from karma-sauce-launcher.
@wswebcreation thank you!
This works:
'goog:chromeOptions': {
args: [
'--flag-switches-begin',
'--disable-features=WebRtcHideLocalIpsWithMdns',
'--flag-switches-end'
]
}
For other browsers key names will be moz:firefoxOptions
and ms:edgeOptions
.
from karma-sauce-launcher.
You're welcome
from karma-sauce-launcher.
Hi All for me the google chrome options work, however the firefox options do not seem to work. Can someone send me their sample log file? Below is what i used. I am basically trying to get video to autoplay when my script runs, however
Chrome options which works:
"goog:chromeOptions": { args: [ '--autoplay-policy=no-user-gesture-required' ] },
firefox options which do not work
"moz:firefoxOptions": {
args: [
// '--media.autoplay.allow-extension-background-pages=true',
'--media.autoplay.enabled.user-gestures-needed=false',
'--media.allowed-to-play.enabled=true',
'--media.autoplay.allow-extension-background-pages=true',
'--media.autoplay.allow-muted=true',
'--media.autoplay.block-webaudio=false',
'--media.autoplay.default=-0',
'--media.block-autoplay-until-in-foreground=false'
]
},
from karma-sauce-launcher.
Hi All for me the google chrome options work, however the firefox options do not seem to work. Can someone send me their sample log file? Below is what i used. I am basically trying to get video to autoplay when my script runs, however
Chrome options which works:
"goog:chromeOptions": { args: [ '--autoplay-policy=no-user-gesture-required' ] },
firefox options which do not work"moz:firefoxOptions": { args: [ // '--media.autoplay.allow-extension-background-pages=true', '--media.autoplay.enabled.user-gestures-needed=false', '--media.allowed-to-play.enabled=true', '--media.autoplay.allow-extension-background-pages=true', '--media.autoplay.allow-muted=true', '--media.autoplay.block-webaudio=false', '--media.autoplay.default=-0', '--media.block-autoplay-until-in-foreground=false' ] },
This code works for me for Firefox:
'moz:firefoxOptions': {
prefs: {
'media.peerconnection.ice.obfuscate_host_addresses': false
}
}
from karma-sauce-launcher.
Related Issues (20)
- undefined SaucelabsReporter adapters causes single-run=false to fail HOT 1
- Breaking change for iPhone Simulators caused by node-saucelabs version bump HOT 10
- Error is thrown when trying to run the connector HOT 12
- Error when mixing browser launched on SauceLabs and others HOT 1
- Uncaught TypeError: Cannot read property 'deleteSession' of null HOT 2
- Internet Explorer times out with Karma 6.x HOT 3
- Error for Safari & Chrome 38 on karma 6.x HOT 14
- No test names are being set, `undefined` instead HOT 8
- Update webdriverio to v7 HOT 2
- failed serving request POST /wd/hub/session: Unauthorized HOT 2
- Unable to connect to Saucelabs
- Running examples fails to compile
- Sauce Connect v4.6.4 to be deprecated 31 Jan 2022 HOT 2
- Checking for the stored log never terminates if the network is down
- Test fails under Firefox GeckoDriver 0.31.0 HOT 4
- ERROR webdriver: unknown error: failed serving request POST /wd/hub/session: Unauthorized HOT 1
- Dependency updates?
- Appium 2 compatibility
- Error from SauceLabs after updating dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-sauce-launcher.