browserstack

How can I pass a fake media stream to safari IOS in browserStack capability?

£可爱£侵袭症+ 提交于 2021-01-29 02:58:14
问题 I am using protractor and selenium with browser stack and trying to automate a webrtc web application, I need to get rid of browser asking for permission and using a fake stream instead of real camera and mic as available in chrome. I have tried using these options they both do not work. Option 1: var capabilities = { 'browserName': 'iPhone', 'device': 'iPhone 6S', 'realMobile': 'true', 'os_version': '11.4', "media.navigator.permission.disabled": true, "media.navigator.streams.fake": true };

Python Selenium - ResourceWarning: Enable tracemalloc to get the object allocation traceback

给你一囗甜甜゛ 提交于 2020-07-20 04:33:02
问题 I am using BrowserStack to run Selenium scripts in Python. Keep in mind that I am new in Python, so maybe there is a simple solution to this that I am not seeing. You can see the code here When I run it, it always shows the following: How to I solve the "ResourceWarning: Enable tracemalloc to get the object allocation traceback" error? Do I need to install some package, enable something in the settings, or..? The tests always execute, as you can see at the bottom, but these Warnings always

Python Selenium - ResourceWarning: Enable tracemalloc to get the object allocation traceback

北战南征 提交于 2020-07-20 04:31:07
问题 I am using BrowserStack to run Selenium scripts in Python. Keep in mind that I am new in Python, so maybe there is a simple solution to this that I am not seeing. You can see the code here When I run it, it always shows the following: How to I solve the "ResourceWarning: Enable tracemalloc to get the object allocation traceback" error? Do I need to install some package, enable something in the settings, or..? The tests always execute, as you can see at the bottom, but these Warnings always

ApacheHttpClient$Factory throwing java.lang.NoClassDefFoundError Exception

偶尔善良 提交于 2020-03-26 03:53:40
问题 I'm trying to run a sample test via Appium on BrowserStack. All the code comes from BrowserStack and uses their sample .ipa file. The following is the log for the error that I'm receiving. Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/remote/internal/ApacheHttpClient$Factory at io.appium.java_client.remote.AppiumCommandExecutor.<init>(AppiumCommandExecutor.java:55) at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:131) at io.appium.java_client.ios

Appium is unable to find button on android device

你。 提交于 2020-01-25 06:52:48
问题 The following is the html code for the button that I'm trying to click. <Button rounded style={styles.pickBtn} title="get started" onPress={signIn} testID="completeBoarding"> <Text style={styles.pickBtnText}>GET STARTED</Text> </Button> This is the code that I have tried to use to click on said button. String xPath = "//button[normalize-space()='GET STARTED']"; AndroidElement searchElement = (AndroidElement) new WebDriverWait(driver, 30).until( ExpectedConditions.elementToBeClickable(MobileBy

Ho do I capture ctrl + click on MacOS with d3js

只谈情不闲聊 提交于 2020-01-24 09:12:05
问题 I got a report that my script which should trigger on ctrl + click does not work on Mac. Like shown in "Determine if Shift key is pressed during mousedown event" we can determine if modifier keys are pressed during a mouse click testing d3.event.shiftKey , d3.event.ctrlKey etc. The shift detection works everywhere but ctrl does not seem to work on MacOS. d3.select(window).on("click", function() { if (d3.event.ctrlKey) { alert("Mouse + Ctrl pressed"); } }); <script src="https://cdnjs

Ruby selenium cannot load such file — selenium-webdriver (LoadError)

点点圈 提交于 2020-01-13 04:29:32
问题 I'm trying to utilize BrowserStack's automated testing using ruby with Selenium WebDriver with Eclipse. Here is the code i'm trying to run: require 'rubygems' require 'selenium-webdriver' # Input capabilities caps = Selenium::WebDriver::Remote::Capabilities.new caps["browser"] = "IE" caps["browser_version"] = "7.0" caps["os"] = "Windows" caps["os_version"] = "XP" caps["browserstack.debug"] = "true" caps[:name] = "Testing Selenium 2 with Ruby on BrowserStack" driver = Selenium::WebDriver.for(

While clicking every link and first level sublink on website, unhandled popup appears

巧了我就是萌 提交于 2020-01-06 08:07:56
问题 I have written a selenium test that clicks all links on a page. But my popup close code does not handle the popup and the test is discontinued. I am on Selenium Java V2.53.1, TestNG and backend is browserstack. This is the call stack, after the last page the popup appears and is not dismissed! ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite link: / link2: / link2: /articles link: /articles link2: /

intern.js and Browserstack

故事扮演 提交于 2020-01-01 16:55:05
问题 Intern.js is a great testrunner but it only appears to work with SauceLabs. My company already uses BrowserStack and are very happy with it. I was wondering if anyone has been able to integrate Intern.js with BrowserStack and if so how? 回答1: You should be able to use BrowserStack with the following Intern configuration for Intern 1: define({ capabilities: { 'browserstack.user': 'your-username', 'browserstack.key': 'your-access-key' }, webdriver: { host: 'hub.browserstack.com' },

intern.js and Browserstack

时光怂恿深爱的人放手 提交于 2020-01-01 16:53:09
问题 Intern.js is a great testrunner but it only appears to work with SauceLabs. My company already uses BrowserStack and are very happy with it. I was wondering if anyone has been able to integrate Intern.js with BrowserStack and if so how? 回答1: You should be able to use BrowserStack with the following Intern configuration for Intern 1: define({ capabilities: { 'browserstack.user': 'your-username', 'browserstack.key': 'your-access-key' }, webdriver: { host: 'hub.browserstack.com' },